Files
localmodelroutex/.env.example

35 lines
1.6 KiB
Plaintext

# ── Required ──────────────────────────────────────────────────────────────────
# 64 hex characters (32 random bytes). Generate with:
# openssl rand -hex 32
GATEWAY_SECURITY_ENCRYPTION_KEY=
# Canonical public URL (used to build OIDC redirect_uri)
GATEWAY_SERVER_PUBLIC_URL=https://lmr.example.com
GATEWAY_OIDC_ISSUER=https://your-oidc-provider.example.com
GATEWAY_OIDC_CLIENT_ID=
GATEWAY_OIDC_CLIENT_SECRET=
GATEWAY_OIDC_ADMIN_GROUP=
# ── Database ──────────────────────────────────────────────────────────────────
# compose.yml (bundled): postgres runs inside the container — leave this as-is.
# compose.standard.yml: set host to the postgres service name, e.g.:
# GATEWAY_DB_URL=postgres://lmr:lmr@postgres:5432/lmr?sslmode=disable
GATEWAY_DB_URL=postgres://lmr:lmr@localhost:5432/lmr?sslmode=disable
# ── Optional ──────────────────────────────────────────────────────────────────
# GATEWAY_SERVER_PORT=8080
# GATEWAY_SERVER_ENV=production
# GATEWAY_DB_MAX_CONNS=20
# GATEWAY_DB_MIN_CONNS=2
# GATEWAY_CATALOG_SYNC_INTERVAL=30m
# Host port to expose (maps to container :8080)
# PORT=8080
# Postgres credentials (bundled and compose.standard.yml postgres service)
# PGUSER=lmr
# PGPASSWORD=lmr
# PGDATABASE=lmr