2015-05-05 03:10:25 +02:00
# Be sure to restart your server when you modify this file.
# Your secret key is used for verifying the integrity of signed cookies.
# If you change this key, all old signed cookies will become invalid!
# Make sure the secret is at least 30 characters and all random,
# no regular words or you'll be exposed to dictionary attacks.
# You can use `rake secret` to generate a secure secret key.
# Make sure the secrets in this file are kept private
# if you're sharing your code publicly.
development :
2016-03-23 18:39:41 +01:00
secret_key_base : <%= ENV["SECRET_KEY_BASE"] %>
2020-06-02 18:29:24 +02:00
default_host : <%= ENV["DEFAULT_HOST"] %>
default_protocol : <%= ENV["DEFAULT_PROTOCOL"] %>
2020-07-21 17:53:58 +02:00
smtp_address : <%= ENV["SMTP_ADDRESS"] %>
smtp_port : <%= ENV["SMTP_PORT"] %>
2016-03-23 18:39:41 +01:00
time_zone : <%= ENV["TIME_ZONE"] %>
week_starting_day : <%= ENV["WEEK_STARTING_DAY"] %>
2022-03-14 17:00:49 +01:00
d3_date_format : <%= ENV.fetch("D3_DATE_FORMAT", '%y-%m-%d').dump %> # .dump is needed as the value may start by a '%', see https://github.com/tenderlove/psych/issues/75
2016-03-29 13:31:02 +02:00
uib_date_format : <%= ENV["UIB_DATE_FORMAT"] %>
2016-07-07 15:31:22 +02:00
excel_date_format : <%= ENV["EXCEL_DATE_FORMAT"]%>
2022-03-14 17:00:49 +01:00
rails_locale : <%= ENV.fetch("RAILS_LOCALE", 'en').dump %>
app_locale : <%= ENV.fetch("APP_LOCALE", 'en').dump %>
2016-03-23 18:39:41 +01:00
moment_locale : <%= ENV["MOMENT_LOCALE"] %>
summernote_locale : <%= ENV["SUMMERNOTE_LOCALE"] %>
angular_locale : <%= ENV["ANGULAR_LOCALE"] %>
2020-11-24 13:26:15 +01:00
intl_locale : <%= ENV["INTL_LOCALE"] %>
intl_currency : <%= ENV["INTL_CURRENCY"] %>
2016-03-23 18:39:41 +01:00
fullcalendar_locale : <%= ENV["FULLCALENDAR_LOCALE"] %>
2020-06-17 16:49:38 +02:00
postgresql_language_analyzer : <%= ENV.fetch("POSTGRESQL_LANGUAGE_ANALYZER", 'simple') %>
2016-04-22 18:17:55 +02:00
openlab_base_uri : <%= ENV["OPENLAB_BASE_URI"] %>
2022-03-02 15:11:55 +01:00
openlab_ssl_verify : <%= ENV.fetch("OPENLAB_SSL_VERIFY", true) %>
openlab_ssl_verify_peer : <%= ENV.fetch("OPENLAB_SSL_VERIFY_PEER", true) %>
2016-05-24 18:42:26 +02:00
navinum_api_login : <%= ENV["NAVINUM_API_LOGIN"] %>
navinum_api_password : <%= ENV["NAVINUM_API_PASSWORD"] %>
2016-08-17 12:49:52 +02:00
elaticsearch_host : <%= ENV["ELASTICSEARCH_HOST"] %>
2016-11-02 15:36:22 +01:00
max_image_size : <%= ENV["MAX_IMAGE_SIZE"] %>
2019-09-24 16:38:16 +02:00
max_cao_size : <%= ENV["MAX_CAO_SIZE"] %>
2019-09-24 17:42:50 +02:00
max_import_size : <%= ENV["MAX_IMPORT_SIZE"] %>
2019-02-26 15:18:19 +01:00
disk_space_mb_alert : <%= ENV["DISK_SPACE_MB_ALERT"] %>
2021-04-14 15:04:41 +02:00
adminsys_email : <%= ENV["ADMINSYS_EMAIL"] %>
2020-05-13 14:03:58 +02:00
allow_insecure_http : <%= ENV.fetch("ALLOW_INSECURE_HTTP", false) %>
2020-06-15 13:20:48 +02:00
locked_settings : <%= ENV.fetch("LOCKED_SETTINGS", 'uuid,origin').split(/,/) %>
2015-05-05 03:10:25 +02:00
test :
2016-04-06 15:55:56 +02:00
secret_key_base : 83daf5e7b80d990f037407bab78dff9904aaf3c195a50f84fa8695a22287e707dfbd9524b403b1dcf116ae1d8c06844c3d7ed942564e5b46be6ae3ead93a9d30
2020-06-02 18:29:24 +02:00
default_host : <%= ENV["DEFAULT_HOST"] %>
default_protocol : <%= ENV["DEFAULT_PROTOCOL"] %>
2016-04-06 15:55:56 +02:00
time_zone : Paris
week_starting_day : monday
2016-04-06 16:01:59 +02:00
d3_date_format : '%d/%m/%y'
2016-04-06 15:55:56 +02:00
uib_date_format : dd/MM/yyyy
2016-07-07 15:31:22 +02:00
excel_date_format : dd/mm/yyyy
2016-04-06 15:55:56 +02:00
rails_locale : en
2017-04-27 18:35:00 +02:00
app_locale : en
2016-04-06 15:55:56 +02:00
moment_locale : en
summernote_locale : en-US
angular_locale : en-us
2020-11-24 13:26:15 +01:00
intl_locale : en-US
intl_currency : USD
2016-04-06 15:55:56 +02:00
fullcalendar_locale : en
2020-06-17 16:49:38 +02:00
postgresql_language_analyzer : french
2016-04-22 18:17:55 +02:00
openlab_base_uri :
2022-03-02 15:11:55 +01:00
openlab_ssl_verify :
openlab_ssl_verify_peer :
2016-05-24 18:42:26 +02:00
navinum_api_login :
navinum_api_password :
2018-07-24 14:36:18 +02:00
elaticsearch_host : <%= ENV["ELASTICSEARCH_HOST"] %>
2016-11-02 15:36:22 +01:00
max_image_size : <%= ENV["MAX_IMAGE_SIZE"] %>
2019-09-24 16:38:16 +02:00
max_cao_size : <%= ENV["MAX_CAO_SIZE"] %>
2019-09-24 17:42:50 +02:00
max_import_size : <%= ENV["MAX_IMPORT_SIZE"] %>
2019-02-26 15:18:19 +01:00
disk_space_mb_alert : <%= ENV["DISK_SPACE_MB_ALERT"] %>
2021-04-14 15:04:41 +02:00
adminsys_email : <%= ENV["ADMINSYS_EMAIL"] %>
2020-05-13 14:03:58 +02:00
allow_insecure_http : <%= ENV.fetch("ALLOW_INSECURE_HTTP", false) %>
2020-06-15 13:20:48 +02:00
locked_settings : <%= ENV.fetch("LOCKED_SETTINGS", 'uuid,origin').split(/,/) %>
2015-05-05 03:10:25 +02:00
staging :
secret_key_base : <%= ENV["SECRET_KEY_BASE"] %>
2020-06-02 18:29:24 +02:00
default_host : <%= ENV["DEFAULT_HOST"] %>
default_protocol : <%= ENV["DEFAULT_PROTOCOL"] %>
2022-03-14 17:00:49 +01:00
delivery_method : <%= ENV.fetch('DELIVERY_METHOD', 'smtp') %>
2016-03-23 18:39:41 +01:00
smtp_address : <%= ENV["SMTP_ADDRESS"] %>
smtp_port : <%= ENV["SMTP_PORT"] %>
smtp_user_name : <%= ENV["SMTP_USER_NAME"] %>
smtp_password : <%= ENV["SMTP_PASSWORD"] %>
2018-10-04 12:02:16 +02:00
smtp_authentication : <%= ENV["SMTP_AUTHENTICATION"] %>
smtp_enable_starttls_auto : <%= ENV["SMTP_ENABLE_STARTTLS_AUTO"] %>
smtp_openssl_verify_mode : <%= ENV["SMTP_OPENSSL_VERIFY_MODE"] %>
2022-04-15 12:24:55 +02:00
smtp_tls : <%= ENV["SMTP_TLS"] %>
2016-03-23 18:39:41 +01:00
time_zone : <%= ENV["TIME_ZONE"] %>
week_starting_day : <%= ENV["WEEK_STARTING_DAY"] %>
2022-03-14 17:00:49 +01:00
d3_date_format : <%= ENV.fetch("D3_DATE_FORMAT", '%y-%m-%d').dump %>
2016-03-29 13:31:02 +02:00
uib_date_format : <%= ENV["UIB_DATE_FORMAT"] %>
2016-07-07 15:31:22 +02:00
excel_date_format : <%= ENV["EXCEL_DATE_FORMAT"]%>
2022-03-14 17:00:49 +01:00
rails_locale : <%= ENV.fetch("RAILS_LOCALE", 'en').dump %>
app_locale : <%= ENV.fetch("APP_LOCALE", 'en').dump %>
2016-03-23 18:39:41 +01:00
moment_locale : <%= ENV["MOMENT_LOCALE"] %>
summernote_locale : <%= ENV["SUMMERNOTE_LOCALE"] %>
angular_locale : <%= ENV["ANGULAR_LOCALE"] %>
2020-11-24 13:26:15 +01:00
intl_locale : <%= ENV["INTL_LOCALE"] %>
intl_currency : <%= ENV["INTL_CURRENCY"] %>
2016-03-23 18:39:41 +01:00
fullcalendar_locale : <%= ENV["FULLCALENDAR_LOCALE"] %>
2020-06-17 16:49:38 +02:00
postgresql_language_analyzer : <%= ENV.fetch("POSTGRESQL_LANGUAGE_ANALYZER", 'simple') %>
2016-04-22 18:17:55 +02:00
openlab_base_uri : <%= ENV["OPENLAB_BASE_URI"] %>
2022-03-02 15:11:55 +01:00
openlab_ssl_verify : <%= ENV.fetch("OPENLAB_SSL_VERIFY", true) %>
openlab_ssl_verify_peer : <%= ENV.fetch("OPENLAB_SSL_VERIFY_PEER", true) %>
2016-05-24 18:42:26 +02:00
navinum_api_login : <%= ENV["NAVINUM_API_LOGIN"] %>
navinum_api_password : <%= ENV["NAVINUM_API_PASSWORD"] %>
2016-08-17 12:49:52 +02:00
elaticsearch_host : <%= ENV["ELASTICSEARCH_HOST"] %>
2016-11-02 15:36:22 +01:00
max_image_size : <%= ENV["MAX_IMAGE_SIZE"] %>
2019-09-24 16:38:16 +02:00
max_cao_size : <%= ENV["MAX_CAO_SIZE"] %>
2019-09-24 17:42:50 +02:00
max_import_size : <%= ENV["MAX_IMPORT_SIZE"] %>
2019-02-26 15:18:19 +01:00
disk_space_mb_alert : <%= ENV["DISK_SPACE_MB_ALERT"] %>
2021-04-14 15:04:41 +02:00
adminsys_email : <%= ENV["ADMINSYS_EMAIL"] %>
2019-12-18 16:50:16 +01:00
enable_in_context_translation : <%= ENV["ENABLE_IN_CONTEXT_TRANSLATION"] %>
2020-05-13 14:03:58 +02:00
allow_insecure_http : <%= ENV.fetch("ALLOW_INSECURE_HTTP", false) %>
2020-06-15 13:20:48 +02:00
locked_settings : <%= ENV.fetch("LOCKED_SETTINGS", 'uuid,origin').split(/,/) %>
2015-05-05 03:10:25 +02:00
# Do not keep production secrets in the repository,
# instead read values from the environment.
production :
secret_key_base : <%= ENV["SECRET_KEY_BASE"] %>
2020-06-02 18:29:24 +02:00
default_host : <%= ENV["DEFAULT_HOST"] %>
default_protocol : <%= ENV["DEFAULT_PROTOCOL"] %>
2022-03-14 17:00:49 +01:00
delivery_method : <%= ENV.fetch('DELIVERY_METHOD', 'smtp') %>
2016-03-23 18:39:41 +01:00
smtp_address : <%= ENV["SMTP_ADDRESS"] %>
smtp_port : <%= ENV["SMTP_PORT"] %>
smtp_user_name : <%= ENV["SMTP_USER_NAME"] %>
smtp_password : <%= ENV["SMTP_PASSWORD"] %>
time_zone : <%= ENV["TIME_ZONE"] %>
2018-10-04 12:02:16 +02:00
smtp_authentication : <%= ENV["SMTP_AUTHENTICATION"] %>
smtp_enable_starttls_auto : <%= ENV["SMTP_ENABLE_STARTTLS_AUTO"] %>
smtp_openssl_verify_mode : <%= ENV["SMTP_OPENSSL_VERIFY_MODE"] %>
2022-04-15 12:24:55 +02:00
smtp_tls : <%= ENV["SMTP_TLS"] %>
2016-03-23 18:39:41 +01:00
week_starting_day : <%= ENV["WEEK_STARTING_DAY"] %>
2022-03-14 17:00:49 +01:00
d3_date_format : <%= ENV.fetch("D3_DATE_FORMAT", '%y-%m-%d').dump %>
2016-03-29 13:31:02 +02:00
uib_date_format : <%= ENV["UIB_DATE_FORMAT"] %>
2016-07-07 15:31:22 +02:00
excel_date_format : <%= ENV["EXCEL_DATE_FORMAT"]%>
2022-03-14 17:00:49 +01:00
rails_locale : <%= ENV.fetch("RAILS_LOCALE", 'en').dump %>
app_locale : <%= ENV.fetch("APP_LOCALE", 'en').dump %>
2016-03-23 18:39:41 +01:00
moment_locale : <%= ENV["MOMENT_LOCALE"] %>
summernote_locale : <%= ENV["SUMMERNOTE_LOCALE"] %>
angular_locale : <%= ENV["ANGULAR_LOCALE"] %>
2020-11-24 13:26:15 +01:00
intl_locale : <%= ENV["INTL_LOCALE"] %>
intl_currency : <%= ENV["INTL_CURRENCY"] %>
2016-03-23 18:39:41 +01:00
fullcalendar_locale : <%= ENV["FULLCALENDAR_LOCALE"] %>
2020-06-17 16:49:38 +02:00
postgresql_language_analyzer : <%= ENV.fetch("POSTGRESQL_LANGUAGE_ANALYZER", 'simple') %>
2016-04-22 18:17:55 +02:00
openlab_base_uri : <%= ENV["OPENLAB_BASE_URI"] %>
2022-03-02 15:11:55 +01:00
openlab_ssl_verify : <%= ENV.fetch("OPENLAB_SSL_VERIFY", true) %>
openlab_ssl_verify_peer : <%= ENV.fetch("OPENLAB_SSL_VERIFY_PEER", true) %>
2016-05-24 18:42:26 +02:00
navinum_api_login : <%= ENV["NAVINUM_API_LOGIN"] %>
navinum_api_password : <%= ENV["NAVINUM_API_PASSWORD"] %>
2016-08-17 12:49:52 +02:00
elaticsearch_host : <%= ENV["ELASTICSEARCH_HOST"] %>
2019-02-26 15:18:19 +01:00
max_image_size : <%= ENV["MAX_IMAGE_SIZE"] %>
2019-09-24 16:38:16 +02:00
max_cao_size : <%= ENV["MAX_CAO_SIZE"] %>
2019-09-24 17:42:50 +02:00
max_import_size : <%= ENV["MAX_IMPORT_SIZE"] %>
2019-02-26 15:18:19 +01:00
disk_space_mb_alert : <%= ENV["DISK_SPACE_MB_ALERT"] %>
2021-04-14 15:04:41 +02:00
adminsys_email : <%= ENV["ADMINSYS_EMAIL"] %>
2020-05-13 14:03:58 +02:00
allow_insecure_http : <%= ENV.fetch("ALLOW_INSECURE_HTTP", false) %>
2020-06-15 13:20:48 +02:00
locked_settings : <%= ENV.fetch("LOCKED_SETTINGS", 'uuid,origin').split(/,/) %>