135 lines
3.9 KiB
Text
135 lines
3.9 KiB
Text
# Application host name
|
|
#
|
|
# Examples:
|
|
# * For local development: localhost:3000
|
|
# * For preproduction: staging.ds.organisme.fr
|
|
# * For production: ds.organisme.fr
|
|
APP_HOST="localhost:3000"
|
|
|
|
# Rails key for signing sensitive data
|
|
# See https://guides.rubyonrails.org/security.html
|
|
#
|
|
# For production you MUST generate a new key, and keep it secret.
|
|
# Secrets must be long and random. Use bin/rails secret to get new unique secrets.
|
|
SECRET_KEY_BASE="05a2d479d8e412198dabd08ef0eee9d6e180f5cbb48661a35fd1cae287f0a93d40b5f1da08f06780d698bbd458a0ea97f730f83ee780de5d4e31f649a0130cf0"
|
|
|
|
# Secret key for One-Time-Password codes, used for 2-factors authentication
|
|
OTP_SECRET_KEY=""
|
|
|
|
# SAML IdP
|
|
|
|
# SAML_IDP_CERTIFICATE="billybop"
|
|
# SAML_IDP_SECRET_KEY="-----BEGIN RSA PRIVATE KEY-----\nblabla+blabla\n-----END RSA PRIVATE KEY-----\n"
|
|
|
|
# Database credentials
|
|
DB_DATABASE="tps_development"
|
|
DB_HOST="localhost"
|
|
DB_POOL=""
|
|
DB_USERNAME="tps_development"
|
|
DB_PASSWORD="tps_development"
|
|
|
|
# Protect access to the instance with a static login/password (useful for staging environments)
|
|
BASIC_AUTH_ENABLED="disabled"
|
|
BASIC_AUTH_USERNAME=""
|
|
BASIC_AUTH_PASSWORD=""
|
|
|
|
# Object Storage for attachments
|
|
FOG_ENABLED="disabled"
|
|
FOG_OPENSTACK_API_KEY=""
|
|
FOG_OPENSTACK_USERNAME=""
|
|
FOG_OPENSTACK_URL=""
|
|
FOG_OPENSTACK_REGION=""
|
|
DS_PROXY_URL=""
|
|
|
|
# External service: authentication through France Connect
|
|
FC_PARTICULIER_ID=""
|
|
FC_PARTICULIER_SECRET=""
|
|
FC_PARTICULIER_BASE_URL=""
|
|
|
|
# External service: authentication through Agent Connect
|
|
AGENT_CONNECT_ID=""
|
|
AGENT_CONNECT_SECRET=""
|
|
AGENT_CONNECT_BASE_URL=""
|
|
AGENT_CONNECT_JWKS=""
|
|
AGENT_CONNECT_REDIRECT=""
|
|
|
|
# External service: integration with HelpScout (optional)
|
|
HELPSCOUT_MAILBOX_ID=""
|
|
HELPSCOUT_CLIENT_ID=""
|
|
HELPSCOUT_CLIENT_SECRET=""
|
|
HELPSCOUT_WEBHOOK_SECRET=""
|
|
|
|
# External service: external supervision
|
|
SENTRY_ENABLED="disabled"
|
|
SENTRY_CURRENT_ENV="development"
|
|
SENTRY_DSN_RAILS=""
|
|
SENTRY_DSN_JS=""
|
|
|
|
# External service: Matomo web analytics
|
|
MATOMO_ENABLED="disabled"
|
|
MATOMO_ID=""
|
|
MATOMO_HOST="matomo.organisme.fr"
|
|
|
|
# SMTP Provider: Send In Blue
|
|
SENDINBLUE_ENABLED="disabled"
|
|
SENDINBLUE_BALANCING=""
|
|
SENDINBLUE_BALANCING_VALUE=""
|
|
SENDINBLUE_CLIENT_KEY=""
|
|
SENDINBLUE_SMTP_KEY=""
|
|
SENDINBLUE_USER_NAME=""
|
|
# SENDINBLUE_LOGIN_URL="https://app.sendinblue.com/account/saml/login/truc"
|
|
|
|
# SMTP Provider: Mailjet
|
|
MAILJET_API_KEY=""
|
|
MAILJET_SECRET_KEY=""
|
|
|
|
# External service: live chat for admins (specific to démarches-simplifiées.fr)
|
|
CRISP_ENABLED="disabled"
|
|
CRISP_CLIENT_KEY=""
|
|
|
|
# External service: mail catcher for staging environments (specific to démarches-simplifiées.fr)
|
|
MAILTRAP_ENABLED="disabled"
|
|
MAILTRAP_USERNAME=""
|
|
MAILTRAP_PASSWORD=""
|
|
|
|
# API Entreprise credentials
|
|
# https://api.gouv.fr/api/api-entreprise.html
|
|
API_ENTREPRISE_KEY=""
|
|
|
|
# External service: CRM for following admin accounts pipeline (specific to démarches-simplifiées.fr)
|
|
PIPEDRIVE_KEY=""
|
|
|
|
# Networks bypassing the email login token that verifies new devices, and rack-attack throttling
|
|
TRUSTED_NETWORKS=""
|
|
|
|
# External service: mesuring performance of the Rails app (specific to démarches-simplifiées.fr)
|
|
SKYLIGHT_AUTHENTICATION_KEY=""
|
|
|
|
# Enable or disable Lograge logs
|
|
LOGRAGE_ENABLED="disabled"
|
|
|
|
# Logs source for Lograge
|
|
#
|
|
# Examples:
|
|
# * For local development: tps_local
|
|
# * For preproduction: tps_staging
|
|
# * For production: tps_prod
|
|
LOGRAGE_SOURCE="tps_local"
|
|
|
|
# External service: timestamping a daily archive of dossiers status changes
|
|
UNIVERSIGN_API_URL="https://ws.universign.eu/tsa/post/"
|
|
UNIVERSIGN_USERPWD=""
|
|
|
|
# External service: API Geo / Adresse
|
|
API_ADRESSE_URL="https://api-adresse.data.gouv.fr"
|
|
API_GEO_URL="https://geo.api.gouv.fr"
|
|
|
|
# External service: API Education
|
|
API_EDUCATION_URL="https://data.education.gouv.fr/api/records/1.0"
|
|
|
|
# Encryption key for sensitive columns in the database
|
|
ENCRYPTION_SERVICE_SALT=""
|
|
|
|
# Salt for invisible_captcha session data.
|
|
# Must be the same value for all app instances behind a load-balancer.
|
|
INVISIBLE_CAPTCHA_SECRET="kikooloool"
|