-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
43 lines (34 loc) · 1.64 KB
/
Copy path.env.example
File metadata and controls
43 lines (34 loc) · 1.64 KB
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
# Grist Custom Forms - Server Configuration
# Copy this to .env and fill in your values
# Default API key (used if no form-specific key is set)
GRIST_API_KEY=your-api-key-here
# Grist instance URL (optional, defaults to grist.numerique.gouv.fr)
# GRIST_BASE_URL=https://grist.numerique.gouv.fr
# Root redirect for the current app (for example: fagerh or eures-beta)
# DEFAULT_HOME_FORM_ID=fagerh
# Public base URL used in generated links (for example invitation emails)
# PUBLIC_APP_BASE_URL=https://formulaires.inclusion.gouv.fr
# Public-domain proxy used when one app fronts the public domain and proxies
# only the EURES beta routes to the dedicated app.
# EURES_PUBLIC_PROXY_ENABLED=true
# EURES_PUBLIC_PROXY_BASE_URL=https://eures-beta.osc-fr1.scalingo.io
# Shared session secret used for signed admin sessions and magic links.
# Use a long random value in production.
# SESSION_SECRET=change-me
# Optional public write protection for EURES beta
# EURES_PUBLIC_WRITE_TTL_SECONDS=21600
# EURES_PUBLIC_WRITE_RATE_LIMIT_WINDOW_SECONDS=3600
# EURES_PUBLIC_WRITE_RATE_LIMIT_MAX=20
# Admin authentication
# Default mode is "basic". Supported values: basic, magic_link, hybrid
# ADMIN_AUTH_MODE_EURES_BETA=magic_link
# ADMIN_ALLOWED_EMAILS_EURES_BETA=eric.barthelemy@example.org
# ADMIN_MAGIC_LINK_TTL_SECONDS_EURES_BETA=900
# ADMIN_MAGIC_LINK_RATE_LIMIT_SECONDS_EURES_BETA=60
# SESSION_COOKIE_SECURE=true
# Form-specific configuration
# Format: GRIST_DOC_<FORM_ID> and GRIST_TABLE_<FORM_ID>
# Form ID is uppercase in env vars (e.g., fagerh -> FAGERH)
GRIST_DOC_FAGERH=adcjAbtXzq25AFYkHvdwgt
GRIST_TABLE_FAGERH=Reponses
# GRIST_API_KEY_FAGERH=optional-form-specific-key