From fd06baeeb5059fec533154d086a605badc93b34e Mon Sep 17 00:00:00 2001 From: lumbric Date: Tue, 1 Mar 2022 21:51:52 +0100 Subject: [PATCH] Update example config.py This commit syncs config.py with api/config.py.example. Some new parameters were missing, causing AttributeErrors during deployment. --- deployment/examples/config.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/deployment/examples/config.py b/deployment/examples/config.py index c0b25e2..5a65d36 100644 --- a/deployment/examples/config.py +++ b/deployment/examples/config.py @@ -4,13 +4,21 @@ # Extended log output, but slower DEBUG = False +VERBOSE = 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. #SECRET = "!!!<<>>!!!" # Connection to the database #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 # necessarily its publicly reachable URL, keycloak advertises that iself.