obs-portal/api/config.dev.py

22 lines
644 B
Python
Raw Normal View History

2021-11-04 17:13:24 +00:00
HOST = "0.0.0.0"
PORT = 3000
2021-11-16 20:59:37 +00:00
DEBUG = False
AUTO_RESTART = True
SECRET = "!!!!!!!!!!!!CHANGE ME!!!!!!!!!!!!"
2021-11-04 17:13:24 +00:00
POSTGRES_URL = "postgresql+asyncpg://obs:obs@postgres/obs"
KEYCLOAK_URL = "http://keycloak:8080/auth/realms/obs-dev/"
2021-11-04 17:13:24 +00:00
KEYCLOAK_CLIENT_ID = "portal"
KEYCLOAK_CLIENT_SECRET = "76b84224-dc24-4824-bb98-9e1ba15bd58f"
2021-11-14 22:42:02 +00:00
DEDICATED_WORKER = True
2021-11-16 20:59:37 +00:00
FRONTEND_URL = "http://localhost:3001/"
2021-11-14 22:42:02 +00:00
FRONTEND_DIR = None
FRONTEND_CONFIG = None
2021-11-16 20:59:37 +00:00
TILES_FILE = "/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
]
2021-11-04 17:13:24 +00:00
# vim: set ft=python :