Document the DB variables in dotenv.example
This commit is contained in:
parent
6f061756ae
commit
1a502417f9
1 changed files with 38 additions and 25 deletions
|
|
@ -1,12 +1,30 @@
|
||||||
# Set environment variables for OSEM in this file
|
# Set environment variables for OSEM in this file and copy it to .env or
|
||||||
# and copy it to .env or .env.rails_environment
|
# .env.$environment (like env.production or env.development)
|
||||||
# (like env.production or env.development)
|
|
||||||
#
|
#
|
||||||
# The following is a list of variables and default
|
# The following is a list of variables and default values that OSEM uses to
|
||||||
# values that OSEM uses to configure some aspects
|
# configure some aspects of the app
|
||||||
# of the app
|
|
||||||
|
|
||||||
# The name of your page
|
# Your secret key base. You can generate a secure one with
|
||||||
|
# bundle exec rake secret
|
||||||
|
SECRET_KEY_BASE=''
|
||||||
|
|
||||||
|
# The type of database to use (postgresql, mysql2, sqlite3)
|
||||||
|
OSEM_DB_ADAPTER=postgresql
|
||||||
|
# The name of the host the database runs on
|
||||||
|
OSEM_DB_HOST=database
|
||||||
|
# The port the databse runs on
|
||||||
|
OSEM_DB_PORT=5432
|
||||||
|
# The user to access the database with
|
||||||
|
OSEM_DB_USER=postgres
|
||||||
|
# The password to access the database with
|
||||||
|
OSEM_DB_PASSWORD=mysecretpassword
|
||||||
|
# The name of the database
|
||||||
|
OSEM_DB_NAME=postgres
|
||||||
|
|
||||||
|
# The ruby version to use
|
||||||
|
OSEM_RUBY_VERSION='2.5.0'
|
||||||
|
|
||||||
|
# The name of your OSEM installation
|
||||||
OSEM_NAME="OSEM"
|
OSEM_NAME="OSEM"
|
||||||
|
|
||||||
# The host this OSEM instance runs on. Used for
|
# The host this OSEM instance runs on. Used for
|
||||||
|
|
@ -16,12 +34,6 @@ OSEM_HOSTNAME="localhost:3000"
|
||||||
# The address OSEM uses for sending mails
|
# The address OSEM uses for sending mails
|
||||||
OSEM_EMAIL_ADDRESS="no-reply@localhost"
|
OSEM_EMAIL_ADDRESS="no-reply@localhost"
|
||||||
|
|
||||||
# (Optional) The Conference#short_title to redirect the root URL to
|
|
||||||
#OSEM_ROOT_CONFERENCE=''
|
|
||||||
|
|
||||||
# (Optional) log level in production environment
|
|
||||||
OSEM_LOG_LEVEL='info'
|
|
||||||
|
|
||||||
# The api key for transifex.com.
|
# The api key for transifex.com.
|
||||||
# See TRANSLATION.md for details
|
# See TRANSLATION.md for details
|
||||||
OSEM_TRANSIFEX_APIKEY=""
|
OSEM_TRANSIFEX_APIKEY=""
|
||||||
|
|
@ -52,10 +64,6 @@ OSEM_SUSE_SECRET=''
|
||||||
STRIPE_PUBLISHABLE_KEY=''
|
STRIPE_PUBLISHABLE_KEY=''
|
||||||
STRIPE_SECRET_KEY=''
|
STRIPE_SECRET_KEY=''
|
||||||
|
|
||||||
# (OPTIONAL) Skylight keys. See https://www.skylight.io/oss.
|
|
||||||
# SKYLIGHT_AUTHENTICATION=''
|
|
||||||
# SKYLIGHT_PUBLIC_DASHBOARD_URL='https://oss.skylight.io/app/applications/xxxxxxxxxxxx'
|
|
||||||
|
|
||||||
# Disable linting of factories in the test suite.
|
# Disable linting of factories in the test suite.
|
||||||
# Speeds up turn around times of tests
|
# Speeds up turn around times of tests
|
||||||
OSEM_FACTORY_LINT="false"
|
OSEM_FACTORY_LINT="false"
|
||||||
|
|
@ -74,16 +82,21 @@ OSEM_SMTP_OPENSSL_VERIFY_MODE=""
|
||||||
# Enable the usage of the devise ichain plugin
|
# Enable the usage of the devise ichain plugin
|
||||||
OSEM_ICHAIN_ENABLED=false
|
OSEM_ICHAIN_ENABLED=false
|
||||||
|
|
||||||
# enable this to force SSL
|
|
||||||
# FORCE_SSL="1"
|
|
||||||
|
|
||||||
# ReCAPTCHA keys
|
# ReCAPTCHA keys
|
||||||
RECAPTCHA_SITE_KEY=""
|
RECAPTCHA_SITE_KEY=""
|
||||||
RECAPTCHA_SECRET_KEY=""
|
RECAPTCHA_SECRET_KEY=""
|
||||||
|
|
||||||
# The url of the redis server
|
## Optional settings
|
||||||
OSEM_REDIS_URL='redis://localhost:6379/1'
|
#
|
||||||
|
# The Conference#short_title to redirect the root URL to
|
||||||
|
# OSEM_ROOT_CONFERENCE=''
|
||||||
|
|
||||||
# The ruby version you want to use with OSEM
|
# log level in production environment
|
||||||
# Please note: We only test 2.5.0
|
# OSEM_LOG_LEVEL='info'
|
||||||
OSEM_RUBY_VERSION=2.5.0
|
|
||||||
|
# enable this to force SSL
|
||||||
|
# FORCE_SSL="1"
|
||||||
|
|
||||||
|
# Your skylight.io keys
|
||||||
|
# SKYLIGHT_AUTHENTICATION=''
|
||||||
|
# SKYLIGHT_PUBLIC_DASHBOARD_URL='https://oss.skylight.io/app/applications/xxxxxxxxxxxx'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue