Update example config.py

This commit syncs config.py with api/config.py.example. Some new
parameters were missing, causing AttributeErrors during deployment.
This commit is contained in:
lumbric 2022-03-01 21:51:52 +01:00 committed by Paul Bienkowski
parent 509e784521
commit fd06baeeb5

View file

@ -4,13 +4,21 @@
# Extended log output, but slower # Extended log output, but slower
DEBUG = False DEBUG = False
VERBOSE = DEBUG
AUTO_RESTART = DEBUG AUTO_RESTART = DEBUG
# Turn on lean mode to simplify the setup. Lots of features will be
# unavailable, but you will not need to manage OpenStreetMap data. Please make
# sure to configure the OBS_FACE_CACHE_DIR correctly for lean mode.
LEAN_MODE = False
# Required to encrypt or sign sessions, cookies, tokens, etc. # Required to encrypt or sign sessions, cookies, tokens, etc.
#SECRET = "!!!<<<CHANGEME>>>!!!" #SECRET = "!!!<<<CHANGEME>>>!!!"
# Connection to the database # Connection to the database
#POSTGRES_URL = "postgresql+asyncpg://user:pass@host/dbname" #POSTGRES_URL = "postgresql+asyncpg://user:pass@host/dbname"
#POSTGRES_POOL_SIZE = 20
#POSTGRES_MAX_OVERFLOW = 2 * POSTGRES_POOL_SIZE
# URL to the keycloak realm, as reachable by the API service. This is not # URL to the keycloak realm, as reachable by the API service. This is not
# necessarily its publicly reachable URL, keycloak advertises that iself. # necessarily its publicly reachable URL, keycloak advertises that iself.