Skip to content

Latest commit

 

History

History
37 lines (29 loc) · 2.4 KB

options.md

File metadata and controls

37 lines (29 loc) · 2.4 KB

Documentation of all config options

Options are read from the following sources. Options in later sources overwrite previous options.

  1. Defaults from config.py module.
  2. /etc/total-tolles-ferleihsystem.conf
  3. ./total-tolles-ferleihsystem.conf
  4. Path specified in CONFIG_FILE
  5. Environment Variables

Main options:

name ENV description standard value
FLASK_APP ✔️ Name of Flask APP total_tolles_ferleihsystem
MODE ✔️ Mode Selector for PRODUCTION, DEBUG or TEST Environment. Only as env variable! PRODUCTION
JWT_SECRET_KEY ✔️ Secret key for JWT Tokens. Do NOT make this public! Use a random string!
SQLALCHEMY_DATABASE_URI ✔️ Url for Database. More Info sqlite://:memory:
SQLITE_FOREIGN_KEYS Use Sqlite with Foreign Key checks enabled. True
LOG_PATH ✔️ Path to log folder. /tmp
TMP_DIRECTORY /tmp
DATA_DIRECTORY /tmp
CONFIG_FILE ✔️ Path to a valid config file (python file). Only as env variable! total-tolles-ferleihsystem.conf
CELERY_BROKER_URL ✔️ Url for Celery compatible Broker. More Info amqp://localhost
CELERY_RESULT_BACKEND ✔️ Url for Celery compatible result Backend. More Info rpc://
LOG_FORMAT Standard Python log format string.
AUTH_LOG_FORMAT Standard Python log format string.

Third party options: