Skip to content

Latest commit

 

History

History
47 lines (41 loc) · 1.34 KB

CONFIG.md

File metadata and controls

47 lines (41 loc) · 1.34 KB

Available configuration

main/LoggerConfig

LOGGER_LEVEL=INFO
LOGGER_DEVELOPMENT_MODE=true

auth0/Config

OIDC_CLIENT_ID=<required-to-be-set>
OIDC_CLIENT_SECRET=<required-to-be-set>
OIDC_ISSUER=<required-to-be-set>
OIDC_AUDIENCE=<required-to-be-set>
OIDC_SCOPES=openid
OIDC_LOGIN_CALLBACK_URL=http://local.filmstund.se:8080/login/callback
OIDC_LOGOUT_CALLBACK_URL=http://local.filmstund.se:8080/
OIDC_EXPECTED_ALG=RS256
OIDC_JWKS_URL=${JWT_EXPECTED_ISS}.well-known/jwks.json
OIDC_USERINFO_URL=${JWT_EXPECTED_ISS}userinfo

cinema/Config

LISTEN_ADDR=:8080
SERVE_PATH=./web/build
MAINTENANCE_MODE=false

database/Config

DB_HOSTNAME=localhost
DB_PORT=5432
DB_DATABASE=filmstund
DB_USERNAME=filmstund
DB_PASSWORD=filmstund
DB_SSL_MODE=prefer
DB_CONNECT_TIMEOUT
DB_POOL_MIN_CONNS
DB_POOL_MAX_CONNS
DB_POOL_MAX_CONN_LIFETIME
DB_POOL_MAX_CONN_IDLE_TIME
DB_POOL_HEALTH_CHECK_PERIOD

session/Config

SESSION_EXPIRATION_DURATION=48h
SESSION_COOKIE_NAME=data

site/Config

SITE_HOST=staging.filmstund.se
SITE_SCHEME=https
SITE_CALENDAR_PREFIX=/calendar/ical
SITE_ALLOWED_ORIGINS=http://localhost:3000