2021-11-04 17:13:24 +00:00
|
|
|
HOST = "0.0.0.0"
|
|
|
|
PORT = 3000
|
2021-11-21 19:17:20 +00:00
|
|
|
DEBUG = True
|
2022-02-18 10:12:42 +00:00
|
|
|
VERBOSE = False
|
2022-09-16 08:14:56 +00:00
|
|
|
AUTO_RELOAD = True
|
2021-11-16 20:59:37 +00:00
|
|
|
SECRET = "!!!!!!!!!!!!CHANGE ME!!!!!!!!!!!!"
|
2021-11-04 17:13:24 +00:00
|
|
|
POSTGRES_URL = "postgresql+asyncpg://obs:obs@postgres/obs"
|
2022-02-08 22:23:29 +00:00
|
|
|
POSTGRES_POOL_SIZE = 20
|
|
|
|
POSTGRES_MAX_OVERFLOW = 2 * POSTGRES_POOL_SIZE
|
2021-11-17 17:33:52 +00:00
|
|
|
KEYCLOAK_URL = "http://keycloak:8080/auth/realms/obs-dev/"
|
2021-11-04 17:13:24 +00:00
|
|
|
KEYCLOAK_CLIENT_ID = "portal"
|
2021-11-21 19:17:20 +00:00
|
|
|
KEYCLOAK_CLIENT_SECRET = "c385278e-bd2e-4f13-9937-34b0c0f44c2d"
|
2021-11-14 22:42:02 +00:00
|
|
|
DEDICATED_WORKER = True
|
2021-12-03 16:54:26 +00:00
|
|
|
API_URL = "http://localhost:3000/"
|
2021-11-16 20:59:37 +00:00
|
|
|
FRONTEND_URL = "http://localhost:3001/"
|
2021-11-24 23:11:21 +00:00
|
|
|
FRONTEND_HTTPS = False
|
2021-11-14 22:42:02 +00:00
|
|
|
FRONTEND_DIR = None
|
2021-12-03 16:31:03 +00:00
|
|
|
FRONTEND_CONFIG = {
|
|
|
|
"imprintUrl": "https://example.com/imprint",
|
|
|
|
"privacyPolicyUrl": "https://example.com/privacy",
|
2023-03-11 15:49:42 +00:00
|
|
|
# "termsUrl": "https://example.com/terms", # Link is only shown when set
|
2021-12-03 16:31:03 +00:00
|
|
|
"mapHome": {"zoom": 6, "longitude": 10.2, "latitude": 51.3},
|
|
|
|
# "banner": {"text": "This is a development installation.", "style": "info"},
|
|
|
|
}
|
|
|
|
|
2021-11-21 16:05:46 +00:00
|
|
|
TILES_FILE = None # "/tiles/tiles.mbtiles"
|
2021-11-04 17:13:24 +00:00
|
|
|
DATA_DIR = "/data"
|
2021-11-16 20:59:37 +00:00
|
|
|
ADDITIONAL_CORS_ORIGINS = [
|
|
|
|
"http://localhost:8880/", # for maputnik on 8880
|
|
|
|
"http://localhost:8888/", # for maputnik on 8888
|
|
|
|
]
|
2023-05-13 18:42:22 +00:00
|
|
|
TILE_SEMAPHORE_SIZE = 4
|
2023-05-13 18:52:45 +00:00
|
|
|
EXPORT_SEMAPHORE_SIZE = 4
|
2021-11-04 17:13:24 +00:00
|
|
|
|
|
|
|
# vim: set ft=python :
|