-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.env.sample
112 lines (89 loc) · 4.85 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
# Rails configuration
HOST=http://localhost:3000
# foreman passes its default port (5000) if unspecified
PORT=3000
SECRET_KEY_BASE=
# Feature flags and App configuration
DEGRADED_SERVICE_MESSAGE_USERS=
DEGRADED_SERVICE_MESSAGE_AGENTS=
# RDV_SOLIDARITES_VERSION is set automatically in bin/start_web_server
SIGN_IN_AS_ALLOWED=true
SAFE_DOMAIN_LIST=
# This is used to provide redirections to rdv-insertion.fr website and to handle webhook endpoints in the seeds
# It is needed as an env variable because seeds can be used on staging envs
RDV_INSERTION_HOST=http://localhost:8000
# This is the secret used for the rdv-insertion webhook endpoints in the seeds
# It is needed as an env variable because seeds can be used on staging envs
RDV_INSERTION_SECRET=rdv-solidarites
# SuperAdmin
## HTTP Basic authentication in local
ADMIN_BASIC_AUTH_PASSWORD=change_me
# Third-party tools
## Performance
SKYLIGHT_AUTHENTICATION=change_me
SKYLIGHT_DISABLE_DEV_WARNING=true
# Third-party authentication services
## Github (SuperAdmins)
GITHUB_APP_ID=Iv1.cc0b69b918187eb4
GITHUB_APP_SECRET="créer un nouveau secret sur https://github.com/organizations/rdv-solidarites/settings/apps/demos-rdv-sp-superadmin-auth"
## FranceConnect (Users)
FRANCECONNECT_APP_ID=change_me
FRANCECONNECT_APP_SECRET=change_me
FRANCECONNECT_HOST=change_me
## Microsoft Graph (Users for Calendar)
AZURE_APPLICATION_CLIENT_ID=c8bdd6de-569d-434a-a39f-f369e32276af
AZURE_APPLICATION_CLIENT_SECRET="voir https://coffre.incubateur.anct.gouv.fr/#/vault?folderId=577313a3-40e2-48e9-b043-273019afc22f&itemId=48247d0e-fc14-47b4-b3bb-11c78f77d1a7"
# Third-party services
## SMS provider (fallback if not setup in the Departement)
DEFAULT_SMS_PROVIDER=
DEFAULT_SMS_PROVIDER_KEY=
DEFAULT_SMS_PROVIDER_API_URL=
## Emails
SENDINBLUE_PASSWORD=change_me
SENDINBLUE_USERNAME=change_me
## Alternate email to send text plain email (needed for 92 mail2sms today)
ALTERNATE_SMTP_USERNAME=
ALTERNATE_SMTP_PASSWORD=
ALTERNATE_SMTP_ADDRESS=
ALTERNATE_SMTP_PORT=
ALTERNATE_SMTP_AUTHENTIFICATION=
# Dev tools
DEVELOPMENT_FORCE_SMS_PROVIDER= # Override sms provider for everyone
DEVELOPMENT_SMTP_USER_NAME=
DEVELOPMENT_SMTP_PASWORD=
DEVELOPMENT_SMTP_HOST=smtp.mailtrap.io
DEVELOPMENT_SMTP_DOMAIN=smtp.mailtrap.io
DEVELOPMENT_SMTP_PORT=2525
RDV_SOLIDARITES_INSTANCE_NAME=
# Postgresql
POSTGRES_HOST=
POSTGRES_USER=
POSTGRES_PASSWORD=
# Shared Secrets for external services
SHARED_SECRET_FOR_AGENTS_AUTH=123456
ANTS_API_AUTH_TOKEN=fake_ants_api_auth_token
ANTS_RDV_OPT_AUTH_TOKEN="voir https://coffre.incubateur.anct.gouv.fr/#/vault?folderId=577313a3-40e2-48e9-b043-273019afc22f&itemId=48247d0e-fc14-47b4-b3bb-11c78f77d1a7"
ANTS_RDV_API_URL="https://int.api-coordination.rendezvouspasseport.ants.gouv.fr/api"
AGENT_CONNECT_BASE_URL="https://fca.integ01.dev-agentconnect.fr/api/v2"
# On a des identifiants Agent Connect différents pour nos trois marques en production, mais en local c'est la même valeur pour les trois
AGENT_CONNECT_RDVSP_CLIENT_ID="4ec41582-1d60-4f11-a63b-d8abaece16aa"
AGENT_CONNECT_RDVSP_CLIENT_SECRET="voir https://vaultwarden.incubateur.net/#/vault?organizationId=2662d2f2-17f4-49c2-907c-0e7049c28cb7&collectionId=e5e23afd-18f2-4da1-af4a-77d97bbb2684&itemId=2d8626d9-62cc-4b03-a62f-11a07eb67c46"
AGENT_CONNECT_RDVS_CLIENT_ID="4ec41582-1d60-4f11-a63b-d8abaece16aa"
AGENT_CONNECT_RDVS_CLIENT_SECRET="voir https://vaultwarden.incubateur.net/#/vault?organizationId=2662d2f2-17f4-49c2-907c-0e7049c28cb7&collectionId=e5e23afd-18f2-4da1-af4a-77d97bbb2684&itemId=2d8626d9-62cc-4b03-a62f-11a07eb67c46"
AGENT_CONNECT_RDVAN_CLIENT_ID="4ec41582-1d60-4f11-a63b-d8abaece16aa"
AGENT_CONNECT_RDVAN_CLIENT_SECRET="voir https://vaultwarden.incubateur.net/#/vault?organizationId=2662d2f2-17f4-49c2-907c-0e7049c28cb7&collectionId=e5e23afd-18f2-4da1-af4a-77d97bbb2684&itemId=2d8626d9-62cc-4b03-a62f-11a07eb67c46"
# Décommenter s'il y a besoin de désactiver le bouton Agent Connect ou Inclusion Connect
# AGENT_CONNECT_DISABLED=true
# INCLUSIONCONNECT_DISABLED=true
VISIOPLAINTE_API_KEY="visioplainte-api-test-key-123456"
VISIOPLAINTE_API_KEY_READ_ONLY="visioplainte-api-test-key-read-only-456789"
COOP_MEDIATION_NUMERIQUE_API_KEY="coop-mediation-numerique-api-test-key-123456"
# Ces variables sont utiles uniquement sur les applis scalingo
# cf https://doc.scalingo.com/platform/app/custom-error-page
# githack.com permet d’exposer une page de notre repo github mais avec les bons headers Content-Type headers
SCALINGO_APP_ERROR_URL=https://rawcdn.githack.com/betagouv/rdv-service-public/production/public/maintenance.html
SCALINGO_NO_FRONT_ERROR_URL=https://rawcdn.githack.com/betagouv/rdv-service-public/production/public/maintenance.html
SCALINGO_STOPPED_PAGE_URL=https://rawcdn.githack.com/betagouv/rdv-service-public/production/public/maintenance.html
SCALINGO_TIMEOUT_ERROR_URL=https://rawcdn.githack.com/betagouv/rdv-service-public/production/public/maintenance.html
# Notion
NOTION_API_SECRET=change_me