2022-01-07 18:41:23 +01:00
# Optional environment variables
2020-07-17 16:28:48 +02:00
2022-01-07 18:41:23 +01:00
# Application name, for display and generating links
2020-07-22 10:32:20 +02:00
APPLICATION_NAME="demarches-simplifiees.fr"
APPLICATION_SHORTNAME="d-s.fr"
APPLICATION_BASE_URL="https://www.demarches-simplifiees.fr"
2022-01-07 18:41:23 +01:00
# If defined to "staging", tell the app that it's running on a staging instance
2021-03-24 15:05:24 +01:00
DS_ENV="staging"
2023-11-30 11:12:41 +01:00
# You know, we are a french team
# TEAM_ON_STRIKE='pas content.'
2022-01-07 18:41:23 +01:00
# France Connect usage
# FRANCE_CONNECT_ENABLED="disabled" # "enabled" by default
2020-08-01 10:33:38 +02:00
2022-01-07 18:41:23 +01:00
# Agent Connect usage
# AGENT_CONNECT_ENABLED="disabled" # "enabled" by default
2021-11-19 10:00:04 +01:00
2023-10-12 14:59:58 +02:00
# Certigna usage
# CERTIGNA_ENABLED="disabled" # "enabled" by default
2022-01-18 12:51:16 +01:00
# Configure the maximum number of times a job is retried
# MAX_ATTEMPTS_JOBS=25
# MAX_ATTEMPTS_API_ENTREPRISE_JOBS=5
2022-01-07 18:41:23 +01:00
# Instance customization: URLs for GTS and legal mentions
2020-11-20 21:01:59 +01:00
# CGU_URL=""
# MENTIONS_LEGALES_URL=""
2022-01-07 18:41:23 +01:00
# Instance customization: support emails addresses and phone
2020-07-15 16:53:22 +02:00
# CONTACT_EMAIL=""
# EQUIPE_EMAIL=""
# TECH_EMAIL=""
# NO_REPLY_EMAIL=""
# OLD_CONTACT_EMAIL=""
# CONTACT_PHONE=""
2022-01-07 18:41:23 +01:00
# Instance customization: postal address of the instance operator
2021-01-30 18:03:41 +01:00
# CONTACT_ADDRESS="Incubateur de Services Numériques / beta.gouv.fr\nServices du Premier Ministre, 20 avenue de Ségur, 75007 Paris"
2022-01-07 18:41:23 +01:00
# Instance customization: URL for creating an admin account on the instance
2020-11-20 18:39:23 +01:00
# DEMANDE_INSCRIPTION_ADMIN_PAGE_URL=""
2022-01-07 18:41:23 +01:00
# Instance customization: URL of the documentation website
2020-12-11 03:38:50 +01:00
# DOC_URL="https://doc.demarches-simplifiees.fr"
2023-10-11 11:03:25 +02:00
# Instance customization: URL of the Routage documentation
# ROUTAGE_URL=""
#
2022-01-07 18:41:23 +01:00
# Instance customization: URL of the accessibility statement
2021-04-05 16:22:03 +02:00
# ACCESSIBILITE_URL=""
2022-01-07 18:41:23 +01:00
# Instance customization: URL of the availability/status webpage
2020-07-17 16:29:21 +02:00
# STATUS_PAGE_URL=""
2020-11-24 14:19:36 +01:00
2022-01-07 18:41:23 +01:00
# Instance customization: Favicons ---> to be put in "app/assets/images"
2023-09-11 17:41:54 +02:00
# Search "real favicon generator" to find websites generating all these formats from a single image source.
# An empty string disable the icon if you don't care.
2020-11-21 00:15:31 +01:00
# FAVICON_16PX_SRC="favicons/16x16.png"
# FAVICON_32PX_SRC="favicons/32x32.png"
# FAVICON_96PX_SRC="favicons/96x96.png"
2023-09-11 17:41:54 +02:00
# FAVICON_APPLE_TOUCH_152PX_SRC="favicons/apple-touch-icon.png"
2020-11-21 00:15:31 +01:00
2022-01-07 18:41:23 +01:00
# Instance customization: Application logo ---> to be put in "app/assets/images"
2020-11-21 00:15:31 +01:00
# HEADER_LOGO_SRC="marianne.png"
# HEADER_LOGO_ALT=""
# HEADER_LOGO_WIDTH="65"
# HEADER_LOGO_HEIGHT="56"
2022-01-07 18:41:23 +01:00
# Instance customization: Emails header logo ---> to be put in "app/assets/images"
2020-11-21 00:15:31 +01:00
# MAILER_LOGO_SRC="mailer/instructeur_mailer/logo.png"
2022-01-07 18:41:23 +01:00
# Instance customization: Emails footer logo ---> to be put in "app/assets/images"
2021-01-30 18:32:42 +01:00
# MAILER_FOOTER_LOGO_SRC="mailer/instructeur_mailer/logo-beta-gouv-fr.png"
2022-01-07 18:41:23 +01:00
# Instance customization: Procedure default logo ---> to be put in "app/assets/images"
2020-12-10 21:05:42 +01:00
# PROCEDURE_DEFAULT_LOGO_SRC="republique-francaise-logo.svg"
2022-01-07 18:41:23 +01:00
# Instance customization: PDF export logo ---> to be put in "app/assets/images"
2022-03-28 15:10:37 +02:00
# DOSSIER_PDF_EXPORT_LOGO_SRC="app/assets/images/header/logo-ds-wide.png"
2021-01-30 17:47:52 +01:00
2022-01-07 18:41:23 +01:00
# Enabling maintenance mode
2021-04-06 12:21:49 +02:00
# MAINTENANCE_MODE="true"
2021-04-06 14:55:25 +02:00
2022-01-07 18:41:23 +01:00
# Enabling localization
2021-04-06 14:55:25 +02:00
# LOCALIZATION_ENABLED="true"
2021-09-07 19:04:54 +02:00
2022-01-07 18:41:23 +01:00
# Disabling 2FA for Super-Admins
2021-09-07 19:04:54 +02:00
# SUPER_ADMIN_OTP_ENABLED = "disabled" # "enabled" par défaut
2021-07-16 11:22:08 +02:00
2023-05-26 08:01:35 +02:00
# API ENTREPRISE
# You can make some tests with the staging environment
# More info at https://entreprise.api.gouv.fr/developpeurs#tester-api-preproduction
# API_ENTREPRISE_URL = "https://staging.entreprise.api.gouv.fr"
2022-01-07 18:41:23 +01:00
# API Particulier
# https://api.gouv.fr/les-api/api-particulier
2021-07-16 11:22:08 +02:00
# API_PARTICULIER_URL="https://particulier.api.gouv.fr/api"
2021-10-18 12:03:13 +02:00
2022-01-07 18:41:23 +01:00
# Admins and instructeurs can freely change their email to these domains
2022-02-09 09:08:49 +01:00
# LEGIT_ADMIN_DOMAINS = "example.org;example.net"
2022-01-26 16:02:51 +01:00
2022-02-02 10:44:53 +01:00
# External service: Matomo web analytics
MATOMO_IFRAME_URL="https://matomo.example.org/index.php?module=CoreAdminHome&action=optOut&language=fr&&fontColor=333333&fontSize=16px&fontFamily=Muli"
2022-02-09 15:44:46 +01:00
# An URI used to report requests breaking the Content Security Policy
# CSP_REPORT_URI="https://myappname.report-uri.com/r/d/csp/reportOnly"
2022-01-26 16:45:33 +01:00
# Landing page sections
# LANDING_TESTIMONIALS_ENABLED="enabled"
# LANDING_USERS_ENABLED="enabled"
2022-02-28 13:16:27 +01:00
# Archive creation options
# when we create an archive of a Procedure, the worker uses this directory as a root in order to build our archives (archive are build within a tmp_dir in this dir)
# ARCHIVE_CREATION_DIR='/tmp'
# max parallel download when creating an archive
# ARCHIVE_DOWNLOAD_MAX_PARALLEL=10
# Archive when encryption of massive file options
# depending on your object storage backend (ie: aws::s3/ovh::object_storage), it may requires a custom upload strategy for big file if you encrypt your files in case of data breach
# suggested value is 4.gigabytes (4294967296)
# ACTIVE_STORAGE_FILE_SIZE_THRESHOLD_BEFORE_CUSTOM_UPLOAD=4294967296
# a custom script handling upload of big file
# ACTIVE_STORAGE_BIG_FILE_UPLOADER_WITH_ENCRYPTION_PATH='/usr/local/bin/swift'
2022-04-11 17:22:32 +02:00
# SMTP Provider: Dolist
# DOLIST_USERNAME=""
# DOLIST_PASSWORD=""
# DOLIST_ACCOUNT_ID=""
# DOLIST_NO_REPLY_EMAIL=""
2022-04-26 11:44:42 +02:00
# DOLIST_API_KEY=""
2022-05-02 17:30:37 +02:00
2023-09-06 11:24:23 +02:00
# SMTP Provider: SIB (Brevo)
# SENDINBLUE_SMTP_ADDRESS=""
# SENDINBLUE_SMTP_PORT=""
2022-05-02 17:30:37 +02:00
# Ratio of emails sent using SendInBlue
# When present, N % of emails will be sent using SendInBlue
# (and the others using the default SMTP provider)
SENDINBLUE_BALANCING_VALUE="50"
# Ratio of emails sent using DoList
# When present, N % of emails will be sent using DoList
# (and the others using the default SMTP provider)
2023-04-27 09:50:12 +02:00
DOLIST_API_BALANCING_VALUE="50"
2022-02-22 16:09:00 +01:00
# Used only by a migration to choose your default regarding procedure archive dossiers after duree_conservation_dossiers_dans_ds
# DEFAULT_PROCEDURE_EXPIRES_WHEN_TERMINE_ENABLED=true
2022-06-23 11:47:59 +02:00
# Enable vite legacy build (IE11). Legacy build is used in production (except if set to "disabled").
# You might want to enable it in other environements for testing. Build time will be greatly impacted.
VITE_LEGACY=""
2022-07-11 14:19:41 +02:00
# around july 2022, we changed the duree_conservation_dossiers_dans_ds, allow instances to choose their own duration
NEW_MAX_DUREE_CONSERVATION=12
2022-07-21 16:36:58 +02:00
2023-07-24 17:55:33 +02:00
#number of months after which DS considere an administrateur useless (if no service and no procedure)
#UNUSED_ADMIN_THRESHOLD=6
2023-02-10 12:40:38 +01:00
# Open data
OPENDATA_ENABLED="enabled" # disabled by default if `OPENDATA_ENABLED` not set
# Open data, publish to data.gouv.fr
2022-07-21 16:36:58 +02:00
DATAGOUV_API_KEY="thisisasecret"
DATAGOUV_API_URL="https://www.data.gouv.fr/api/1"
2023-02-10 12:40:38 +01:00
DATAGOUV_STATISTICS_DATASET="dataset-id1"
DATAGOUV_DESCRIPTIF_DEMARCHES_DATASET="dataset-id2"
DATAGOUV_DESCRIPTIF_DEMARCHES_RESOURCE="resource-id-of-dataset-id2"
2022-08-18 15:58:19 +02:00
2022-12-20 09:22:28 +01:00
# Zonage
ZONAGE_ENABLED='enabled' # zonage disabled by default if `ZONAGE_ENABLED` not set
2023-01-10 22:46:05 +01:00
# Configuration for the S3 storage service (if enabled)
S3_ACCESS_KEY_ID=""
S3_SECRET_ACCESS_KEY=""
S3_REGION=""
S3_BUCKET=""
2022-12-20 09:22:28 +01:00
2022-08-18 15:58:19 +02:00
# SAML
SAML_IDP_CERTIFICATE="idpcertificate"
SAML_IDP_SECRET_KEY="-----BEGIN RSA PRIVATE KEY-----\nblabla+blabla\n-----END RSA PRIVATE KEY-----\n"
SAML_DOLIST_CERTIFICATE="spcertificate"
SAML_DOLIST_HOST="dolisthoname"
2022-08-22 11:22:04 +02:00
DOLIST_LOGIN_URL="https://clientpreprod.dolist.net"
2022-11-03 11:31:18 +01:00
2023-01-11 17:31:31 +01:00
# rappel web du support
2022-11-03 11:31:18 +01:00
SUPPORT_WEBHOOK_URL=""
2023-01-11 17:31:31 +01:00
# rappel web de sendinblue
SIB_WEBHOOK_URL=""
2023-02-07 17:36:14 +01:00
# ServicesPublics+ tracking url shown to user when dossier is terminated.
SERVICES_PUBLICS_PLUS_URL=""
2023-02-23 18:25:30 +01:00
2023-03-30 10:59:08 +02:00
# Classic SMTP
CLASSIC_SMTP_ENABLED="disabled"
SMTP_HOST=""
SMTP_PORT=""
SMTP_USER=""
SMTP_PASS=""
SMTP_TLS=""
SMTP_AUTHENTICATION="plain"
2023-04-05 14:32:37 +02:00
# Sendmail
SENDMAIL_ENABLED="disabled"
SENDMAIL_LOCATION="/usr/sbin/sendmail"
SENDMAIL_ARGUMENTS="-i"
2023-05-09 17:14:23 +02:00
# Various banner for important messages
# for all users
BANNER_MESSAGE=""
# for instructeurs and admins only
ADMINISTRATION_BANNER_MESSAGE=""
# for usager only
USAGER_BANNER_MESSAGE=""
2023-05-30 14:42:36 +02:00
# RSA private key to generate JWT tokens for communication with COJO services
COJO_JWT_RSA_PRIVATE_KEY=""
COJO_JWT_ISS=""
API_COJO_URL=""
2023-07-18 11:42:57 +02:00
# Set to `disabled` if you want to diable postgis
POSTGIS_EXTENSION_DISABLED=""
2023-07-12 15:48:37 +02:00
# Use redis as primary rails cache store, file system otherwise
REDIS_CACHE_URL=""
REDIS_CACHE_SSL="enabled"
REDIS_CACHE_SSL_VERIFY_NONE="enabled"
2023-07-21 11:26:06 +02:00
2023-11-03 09:22:03 +01:00
# configuration for sidekiq's redis
2023-09-26 12:31:26 +02:00
# simple mode
# that's all you need to do to conf your sidekiq on a local redis
REDIS_URL="redis://localhost:6379"
# or sentinels mode
REDIS_SIDEKIQ_SENTINELS='sentinel://host-1:26379,sentinel://host-2:26379'
REDIS_SIDEKIQ_MASTER='master_name'
REDIS_SIDEKIQ_PASSWORD='sentinel_and_redis_password'
REDIS_SIDEKIQ_USERNAME='sentinel_and_redis_username'
2023-07-21 11:26:06 +02:00
# Setup log level, info if nil
# can be debug, info, warn, error, fatal, and unknown
DS_LOG_LEVEL='info'
2023-08-30 14:20:20 +02:00
2023-10-01 12:52:05 +02:00
# GroupeGestionnaire
2023-08-30 14:20:20 +02:00
# can be removed if needed when EVERY PARTS of the feature will be merged / only used in routes.rb
ADMINS_GROUP_ENABLED="disabled"
2023-11-03 09:28:36 +01:00
# Do you want to isolate bulk email (notifications) from transactional ones (ex: reset password).
# BULK_EMAIL_QUEUE will host bulk email (notifications)
2023-10-18 07:10:26 +02:00
BULK_EMAIL_QUEUE="low_priority"
2023-11-15 09:55:33 +01:00
# work in progress about attestation_v2
WEASYPRINT_URL="http://10.33.23.204:5000/pdf"
2023-11-03 09:22:03 +01:00
2023-11-04 08:45:40 +01:00
# Use this env var customize the max number of deleted user per day
EXPIRE_USER_DELETION_JOB_LIMIT=10000
2023-12-14 17:12:19 +01:00
# write anything to disable cron jobs
CRON_JOBS_DISABLED=""