From 41ce56ac09c23eb912ca330cb06baf5f2eef2b0c Mon Sep 17 00:00:00 2001 From: gluap Date: Fri, 19 May 2023 11:02:06 +0200 Subject: [PATCH] restore `.env` which was lost (probably due to gitignore) --- deployment/.env | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 deployment/.env diff --git a/deployment/.env b/deployment/.env new file mode 100644 index 0000000..713182a --- /dev/null +++ b/deployment/.env @@ -0,0 +1,49 @@ +################################################### +# Keycloak +################################################### + +OBS_KEYCLOAK_URI=login.example.com + +# Postgres + +OBS_KEYCLOAK_POSTGRES_USER=obs +OBS_KEYCLOAK_POSTGRES_PASSWORD=<> +OBS_KEYCLOAK_POSTGRES_DB=obs +OBS_POSTGRES_MAX_OVERFLOW=20 +OBS_POSTGRES_POOL_SIZE=40 + +# KeyCloak + +OBS_KEYCLOAK_POSTGRES_HOST=postgres-keycloak +OBS_KEYCLOAK_ADMIN_USER=admin +OBS_KEYCLOAK_ADMIN_PASSWORD=<> +OBS_KEYCLOAK_REALM=obs +OBS_KEYCLOAK_PORTAL_REDIRECT_URI=https://portal.example.com/* + +################################################### +# Portal +################################################### + +OBS_PORTAL_URI=portal.example.com + +# Postgres + osm2pgsql + +OBS_POSTGRES_HOST=postgres +OBS_POSTGRES_USER=obs +OBS_POSTGRES_PASSWORD=<> +OBS_POSTGRES_DB=obs + +# Portal + +OBS_HOST=0.0.0.0 +OBS_PORT=3000 +OBS_SECRET=<> +OBS_POSTGRES_URL=postgresql+asyncpg://obs:<>@postgres/obs +OBS_KEYCLOAK_URL=https://login.example.com/auth/realms/obs/ +OBS_KEYCLOAK_CLIENT_ID=portal +OBS_KEYCLOAK_CLIENT_SECRET=<> +OBS_DEDICATED_WORKER="True" +OBS_DATA_DIR=/data +OBS_PROXIES_COUNT=1 + +###################################################