servala-portal/.env.example

36 lines
1.4 KiB
Text
Raw Normal View History

# One of "development", "staging", "production". Defaults to "development".
# In any environment that is not "production", a big visible warning naming
# the current environment is shown at the top of every page.
# When the environment is "development", DEBUG is set to True.
SERVALA_ENVIRONMENT='development'
# Set PREVIOUS_SECRET_KEY when rotating to a new secret key in order to not expire all sessions
# SERVALA_PREVIOUS_SECRET_KEY=''
SERVALA_SECRET_KEY='django-insecure-8sl^1&1f-$3%w7cf)q(rcvi4jo(#s3ug-@be0ooc2ioep*&%7@'
# Set the allowed hosts as comma-separated list.
# Use a leading dot to match a domain and all subdomains.
# Leave or unset in the development environment in order to accept localhost names.
SERVALA_ALLOWED_HOSTS='.example.com'
# Database settings:
# In development mode, leave the DB name empty in order to use a SQLite database called db.sqlite3
# Otherwise, defaults point to a local PostgreSQL database with name and user "servala".
# You MUST set the password.
SERVALA_DB_USER=''
SERVALA_DB_PASSWORD=''
SERVALA_DB_HOST=''
SERVALA_DB_PORT=''
# Location for file uploads. Leading "/" for absolute path, otherwise relative to base dir
# Defaults to 'media'
SERVALA_MEDIA_ROOT=''
SERVALA_EMAIL_HOST='localhost'
SERVALA_EMAIL_PORT='25'
SERVALA_EMAIL_USER=''
SERVALA_EMAIL_PASSWORD=''
# At most one of the following settings may be set to True
SERVALA_EMAIL_TLS='False'
SERVALA_EMAIL_SSL='False'