-
Notifications
You must be signed in to change notification settings - Fork 7
/
.env.sample
50 lines (42 loc) · 1.47 KB
/
.env.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
45
46
47
48
49
50
LOG_LEVEL=debug
# frontend
GRAPHQL_API_URL=http://localhost:5000/v1/graphql
# using 127.0.0.1 instead of localhost to force IPv4
BACKEND_API_URL=http://127.0.0.1:8000
BACKEND_API_ACTION_URL=http://host.docker.internal:8000
PUBLIC_MATOMO_URL=https://matomo.inclusion.beta.gouv.fr
PUBLIC_MATOMO_SITE_ID=
PUBLIC_CRISP_WEBSITE_ID=
PUBLIC_SENTRY_DSN=
PUBLIC_SENTRY_ENVIRONMENT=
RDVI_CLIENT_SECRET=secret_api_token
SANDBOX_LOGIN=true
# maximum upload size through SvelteKit (0 disables the limit)
BODY_SIZE_LIMIT=0
# backend
APP_URL=http://localhost:3000
DATABASE_URL=postgres://cdb:test@localhost:5432/carnet_de_bord
LOG_AS_JSON=false
GQL_LOG_LEVEL=INFO # graphql cient logging level
ENABLE_SYNC_CONTRAINTES=False
PE_AUTH_BASE_URL=https://entreprise.pe-qvr.fr
PE_BASE_URL=https://api.peio.pe-qvr.fr
PE_CLIENT_ID=
PE_CLIENT_SECRET=
SMTP_HOST=smtp.mailtrap.io
SMTP_PORT=2525
SMTP_USER=smtp
SMTP_PASS=pass
SMTP_FROM=contact@carnetdebord.inclusion.beta.gouv.fr
# hasura
HASURA_GRAPHQL_DATABASE_URL=postgres://cdb:test@db:5432/carnet_de_bord
HASURA_GRAPHQL_ADMIN_SECRET=admin
HASURA_GRAPHQL_UNAUTHORIZED_ROLE=anonymous
HASURA_GRAPHQL_JWT_SECRET='{"type": "HS256", "key": "3EK6FD+o0+c7tzBNVfjpMkNDi2yARAAKzQlk8O2IKoxQu4nF7EdAh8s3TwpHwrdWT6R"}'
HASURA_ENDPOINT_PORT=5000
# retry 5 times if posgres is not available
HASURA_GRAPHQL_NO_OF_RETRIES=5
# Set it to true for tests
HASURA_GRAPHQL_DISABLE_INTERACTIVE=false
ACTION_SECRET=action_secret_token
ACTION_BASE_URL=http://host.docker.internal:3000/actions