2020-03-11 16:18:17 +01:00
|
|
|
# Add application configuration variables here, as shown below.
|
|
|
|
|
|
|
|
# Databases
|
2020-03-24 16:45:27 +01:00
|
|
|
POSTGRES_HOST=fabmanager-postgres
|
2020-03-11 16:18:17 +01:00
|
|
|
POSTGRES_PASSWORD=
|
2020-03-24 16:45:27 +01:00
|
|
|
REDIS_HOST=fabmanager-redis
|
|
|
|
ELASTICSEARCH_HOST=fabmanager-elastic
|
2020-03-11 16:18:17 +01:00
|
|
|
|
|
|
|
# Stripe
|
|
|
|
SECRET_KEY_BASE=83daf5e7b80d990f037407bab78dff9904aaf3c195a50f84fa8695a22287e707dfbd9524b403b1dcf116ae1d8c06844c3d7ed942564e5b46be6ae3ead93a9d30
|
|
|
|
STRIPE_API_KEY=
|
|
|
|
STRIPE_PUBLISHABLE_KEY=
|
|
|
|
STRIPE_CURRENCY=eur
|
|
|
|
|
|
|
|
# Invoices
|
2020-04-07 10:34:58 +02:00
|
|
|
INVOICE_PREFIX=Demo-FabLab_facture
|
2020-03-11 16:18:17 +01:00
|
|
|
|
|
|
|
# FabLab optional modules
|
|
|
|
FABLAB_WITHOUT_ONLINE_PAYMENT=false
|
|
|
|
PHONE_REQUIRED=true
|
|
|
|
FABLAB_WITHOUT_WALLET=false
|
|
|
|
|
|
|
|
USER_CONFIRMATION_NEEDED_TO_SIGN_IN=false
|
|
|
|
|
2020-06-02 18:29:24 +02:00
|
|
|
# Configure carefully!
|
|
|
|
DEFAULT_HOST=localhost:5000
|
|
|
|
DEFAULT_PROTOCOL=http
|
|
|
|
|
2020-03-11 16:18:17 +01:00
|
|
|
# Email config
|
|
|
|
DELIVERY_METHOD=smtp
|
|
|
|
SMTP_ADDRESS=
|
|
|
|
SMTP_PORT=587
|
|
|
|
SMTP_USER_NAME=
|
|
|
|
SMTP_PASSWORD=
|
|
|
|
SMTP_AUTHENTICATION=plain
|
|
|
|
SMTP_ENABLE_STARTTLS_AUTO=true
|
|
|
|
SMTP_OPENSSL_VERIFY_MODE=
|
|
|
|
SMTP_TLS=false
|
|
|
|
|
|
|
|
# I18N configuration
|
|
|
|
RAILS_LOCALE=fr
|
|
|
|
APP_LOCALE=fr
|
|
|
|
MOMENT_LOCALE=fr
|
|
|
|
SUMMERNOTE_LOCALE=fr-FR
|
|
|
|
ANGULAR_LOCALE=fr-fr
|
|
|
|
FULLCALENDAR_LOCALE=fr
|
2020-04-07 17:53:19 +02:00
|
|
|
FORCE_VERSION_CHECK=false
|
2020-05-13 14:03:58 +02:00
|
|
|
ALLOW_INSECURE_HTTP=false
|
2020-03-11 16:18:17 +01:00
|
|
|
|
|
|
|
ELASTICSEARCH_LANGUAGE_ANALYZER=french
|
|
|
|
|
|
|
|
TIME_ZONE=Paris
|
|
|
|
WEEK_STARTING_DAY=monday
|
|
|
|
D3_DATE_FORMAT=%d/%m/%y
|
|
|
|
UIB_DATE_FORMAT=dd/MM/yyyy
|
|
|
|
EXCEL_DATE_FORMAT=dd/mm/yyyy
|
|
|
|
|
|
|
|
# OpenLab Projects
|
|
|
|
# do not change this URL
|
|
|
|
OPENLAB_BASE_URI=https://openprojects.fab-manager.com
|
|
|
|
|
|
|
|
# System settings
|
|
|
|
LOG_LEVEL=debug
|
|
|
|
DISK_SPACE_MB_ALERT=100
|
|
|
|
SUPERADMIN_EMAIL=admin@sleede.com
|
|
|
|
|
|
|
|
# 5242880 = 5 megabytes
|
|
|
|
MAX_IMPORT_SIZE=5242880
|
|
|
|
# 10485760 = 10 megabytes
|
|
|
|
MAX_IMAGE_SIZE=10485760
|
|
|
|
# 20971520 = 20 megabytes
|
|
|
|
MAX_CAO_SIZE=20971520
|