forked from gip-inclusion/carnet-de-bord
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.test.sample
44 lines (38 loc) · 1.46 KB
/
.env.test.sample
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# frontend
GRAPHQL_API_URL=http://localhost:5001/v1/graphql
SANDBOX_LOGIN=true
PUBLIC_MATOMO_URL=https://matomo.fabrique.social.gouv.fr/
PUBLIC_MATOMO_SITE_ID=53
PUBLIC_CRISP_WEBSITE_ID=2f9fd96d-44a0-4588-8f7e-a06a5a531c6f
BACKEND_API_URL=http://localhost:8001
# backend
APP_URL=http://localhost:3001
# You can't name your test database as you want. It has to be
# carnet_de_bord otherwise you will not be able to apply
# migrations
DATABASE_URL=postgres://cdb:test@localhost:5433/carnet_de_bord
# An empty SMTP_HOST disables mail sending
SMTP_HOST=
SMTP_PORT=
SMTP_USER=
SMTP_PASS=
# hasura
#
# You can't name your test database as you want. It has to be
# carnet_de_bord otherwise you will not be able to apply
# migrations
HASURA_GRAPHQL_DATABASE_URL=postgres://cdb:test@db_test:5432/carnet_de_bord
HASURA_GRAPHQL_ADMIN_SECRET=admin
HASURA_GRAPHQL_UNAUTHORIZED_ROLE=anonymous
HASURA_GRAPHQL_JWT_SECRET='{"type": "HS256", "key": "3EK6FD+o0+c7tzBNVfjpMkNDi2yARAAKzQlk8O2IKoxQu4nF7EdAh8s3TwpHwrdWT6R"}'
# retry 5 times if posgres is not available
HASURA_GRAPHQL_NO_OF_RETRIES=5
# Set it to true for tests
HASURA_GRAPHQL_DISABLE_INTERACTIVE=true
ACTION_SECRET=action_secret_token
ACTION_BASE_URL=http://host.docker.internal:3001/actions
# api-particulier
API_PARTICULIER_URL=https://particulier-test.api.gouv.fr/api
API_PARTICULIER_TOKEN_PE=fd38830c480221d0ff0b6013c4de6c32
API_PARTICULIER_TOKEN_CAF=fb156a4e-d497-480f-b3ef-9bc1bccdfbb9