36 lines
1.1 KiB
Python
36 lines
1.1 KiB
Python
HOST = "0.0.0.0"
|
|
PORT = 3000
|
|
DEBUG = True
|
|
VERBOSE = False
|
|
AUTO_RELOAD = True
|
|
SECRET = "!!!!!!!!!!!!CHANGE ME!!!!!!!!!!!!"
|
|
POSTGRES_URL = "postgresql+asyncpg://obs:obs@postgres/obs"
|
|
POSTGRES_POOL_SIZE = 20
|
|
POSTGRES_MAX_OVERFLOW = 2 * POSTGRES_POOL_SIZE
|
|
KEYCLOAK_URL = "http://keycloak:8080/auth/realms/obs-dev/"
|
|
KEYCLOAK_CLIENT_ID = "portal"
|
|
KEYCLOAK_CLIENT_SECRET = "c385278e-bd2e-4f13-9937-34b0c0f44c2d"
|
|
DEDICATED_WORKER = True
|
|
API_URL = "http://localhost:3000/"
|
|
FRONTEND_URL = "http://localhost:3001/"
|
|
FRONTEND_HTTPS = False
|
|
FRONTEND_DIR = None
|
|
FRONTEND_CONFIG = {
|
|
"imprintUrl": "https://example.com/imprint",
|
|
"privacyPolicyUrl": "https://example.com/privacy",
|
|
# "termsUrl": "https://example.com/terms", # Link is only shown when set
|
|
"mapHome": {"zoom": 6, "longitude": 10.2, "latitude": 51.3},
|
|
# "banner": {"text": "This is a development installation.", "style": "info"},
|
|
}
|
|
|
|
TILES_FILE = None # "/tiles/tiles.mbtiles"
|
|
DATA_DIR = "/data"
|
|
ADDITIONAL_CORS_ORIGINS = [
|
|
"http://localhost:8880/", # for maputnik on 8880
|
|
"http://localhost:8888/", # for maputnik on 8888
|
|
]
|
|
TILE_SEMAPHORE_SIZE = 4
|
|
EXPORT_SEMAPHORE_SIZE = 4
|
|
|
|
# vim: set ft=python :
|