-
Notifications
You must be signed in to change notification settings - Fork 4
/
.env.sample
143 lines (111 loc) · 4.32 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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
# App context
DOMAIN=localhost:3000
#dev | staging | production | local
ENV_TYPE=local
# test | local | production
NODE_ENV=production
# IN_MEMORY | PG
REPOSITORIES=IN_MEMORY
DATABASE_URL="postgresql://immersion:pg_password@localhost:5432/immersion-db"
EVENT_CRAWLER_PERIOD_MS=3000
# IN_MEMORY | PG
ROME_GATEWAY=IN_MEMORY
# IN_MEMORY | OPEN_CAGE_DATA
ADDRESS_API_GATEWAY=IN_MEMORY
#API_KEY_OPEN_CAGE_DATA_GEOCODING=to_provide
#API_KEY_OPEN_CAGE_DATA_GEOSEARCH=to_provide
BACKOFFICE_USERNAME=admin
BACKOFFICE_PASSWORD=password
# The following keys are for local use only, they are considered compromised and shall never be use on any of our environements
API_JWT_PRIVATE_KEY="-----BEGIN EC PRIVATE KEY-----\nMHcCAQEEIPnK7kOKC6VqJwmsXCcCgNfVEAMyt0IFm68g/dwg3/iVoAoGCCqGSM49\nAwEHoUQDQgAEXNo97BD4w2huuAYsmINnn/+TPolxYUexkcD49YyxsjJPA2d91B2r\nDzteUKnEsloNYDTeYW88oLPMdgmbzm+sQg==\n-----END EC PRIVATE KEY-----"
API_JWT_PUBLIC_KEY="-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEXNo97BD4w2huuAYsmINnn/+TPolx\nYUexkcD49YyxsjJPA2d91B2rDzteUKnEsloNYDTeYW88oLPMdgmbzm+sQg==\n-----END PUBLIC KEY-----"
JWT_PRIVATE_KEY="-----BEGIN PRIVATE KEY-----\nMIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgevZzL1gdAFr88hb2\nOF/2NxApJCzGCEDdfSp6VQO30hyhRANCAAQRWz+jn65BtOMvdyHKcvjBeBSDZH2r\n1RTwjmYSi9R/zpBnuQ4EiMnCqfMPWiZqB4QdbAd0E7oH50VpuZ1P087G\n-----END PRIVATE KEY-----"
JWT_PUBLIC_KEY="-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEEVs/o5+uQbTjL3chynL4wXgUg2R9\nq9UU8I5mEovUf86QZ7kOBIjJwqnzD1omageEHWwHdBO6B+dFabmdT9POxg==\n-----END PUBLIC KEY-----\n"
# IN_MEMORY | HYBRID | BREVO
NOTIFICATION_GATEWAY=IN_MEMORY
#BREVO_API_KEY=to_provide
# if provided, emails will be sent only if they are in the list
SKIP_EMAIL_ALLOW_LIST=FALSE
ESTABLISHMENT_MARKETING_GATEWAY="IN_MEMORY" #IN_MEMORY | BREVO
BREVO_ESTABLISHMENT_CONTACT_LIST_ID=000000000000 # Check establishment list Id on Brevo : https://app.brevo.com/contact/list-listing
#IN_MEMORY | EMAILABLE
EMAIL_VALIDATION_GATEWAY=IN_MEMORY
#EMAILABLE_API_KEY=to_provide
INBOUND_EMAIL_ALLOWED_IPS=::ffff:127.0.0.1
# NONE | S3
DOCUMENT_GATEWAY=NONE
#CELLAR_ADDON_HOST
#CELLAR_ADDON_KEY_ID
#CELLAR_ADDON_KEY_SECRET
#CELLAR_BUCKET
# NONE | METABASE
DASHBOARD_GATEWAY=NONE
#METABASE_URL=to_provide
#METABASE_API_KEY=to_provide
# IN_MEMORY | HTTPS
LA_BONNE_BOITE_GATEWAY=IN_MEMORY
# IN_MEMORY | HTTPS
PASS_EMPLOI_GATEWAY=IN_MEMORY
#PASS_EMPLOI_URL=to_provide
#PASS_EMPLOI_KEY=to_provide
#DISCORD_PIPELINE_REPORTS_WEBHOOK_URL
#DISCORD_WEBHOOK_URL
# IN_MEMORY | HTTPS
POLE_EMPLOI_GATEWAY=IN_MEMORY
#POLE_EMPLOI_API_URL
#POLE_EMPLOI_AUTHENTIFICATION_CANDIDAT_URL
#POLE_EMPLOI_CLIENT_ID
#POLE_EMPLOI_CLIENT_SECRET
#POLE_EMPLOI_ENTREPRISE_URL
# IN_MEMORY | HTTPS
PE_CONNECT_GATEWAY=IN_MEMORY
# IN_MEMORY | HTTPS
INCLUSION_CONNECT_GATEWAY=IN_MEMORY
#INCLUSION_CONNECT_CLIENT_ID=to_provide
#INCLUSION_CONNECT_CLIENT_SECRET=to_provide
#INCLUSION_CONNECT_BASE_URI=to_provide
#PRO_CONNECT_GATEWAY=IN_MEMORY
#PRO_CONNECT_BASE_URI=to_provide
#PRO_CONNECT_CLIENT_ID =to_provide
#PRO_CONNECT_CLIENT_SECRET = to_provide
# IN_MEMORY | EXCEL
REPORTING_GATEWAY=IN_MEMORY
# IN_MEMORY | INSEE | ANNUAIRE_DES_ENTREPRISES
SIRENE_REPOSITORY=IN_MEMORY
#SIRENE_INSEE_ENDPOINT=https://api.insee.fr/entreprises/sirene/V3.11
#SIRENE_INSEE_CLIENT_ID=to_provide
#SIRENE_INSEE_CLIENT_SECRET=to_provide
#SIRENE_INSEE_USERNAME=to_provide
#SIRENE_INSEE_PASSWORD=to_provide
# NANO_ID | DETERMINIST
SHORT_LINK_ID_GENERATOR_GATEWAY=NANO_ID
# IN_MEMORY | HTTPS
SUBSCRIBERS_GATEWAY=IN_MEMORY
MAX_CONVENTIONS_TO_SYNC_WITH_PE=50
PDF_GENERATOR_GATEWAY=IN_MEMORY
# ------- for front ---------
VITE_CRISP_WEBSITE_ID=""
VITE_PREFILLED_FORMS=true
VITE_ENV_TYPE=dev
# IN_MEMORY | HTTP
VITE_GATEWAY=HTTP
# --- Not used anymore (on scalingo) : ---
#ADMINER_PORT
#ADMIN_EMAIL
#ADMIN_JWT_SECRET
#API_KEY_OPEN_CAGE_DATA
#EMAIL_WITH_ASSESSMENT_CREATION_LINK
#ESTABLISHMENT_SUGGEST_FORM_EDITION=0 0 */1 * *
#ESTABLISHMENT_UPDATE_FROM_SIRENE=0 0 */1 * *
#ENABLE_ADMIN_UI=TRUE
#EXPOSED_PORT
#GATEWAY
#IMMERSION_FACILE_BASE_URL
#POSTGRES_PORT
#EXPOSED_PORT
EMAIL_DOMAINS_BLACKLIST=domain.com,domain2.com
APPELLATIONS_GATEWAY=IN_MEMORY # IN_MEMORY | DIAGORIENTE
DIAGORIENTE_API_URL=https://api.beta.gouv.fr/diagoriente/v1
DIAGORIENTE_API_CLIENT_ID=if_fake_client_id
DIAGORIENTE_API_CLIENT_SECRET=if_fake_client_secret