Introduced new environment variables for the authentication portal in the production and microvps configurations. Updated the documentation to clarify the necessity of passing these variables to the evobgp-all service. This change enhances the authentication flow by enabling single sign-on (SSO) capabilities through JWT, ensuring a more secure and streamlined user experience.
25 lines
849 B
Bash
25 lines
849 B
Bash
# Production /opt/evobgp — скопируйте в .env на сервере
|
|
# cp .env.production.example .env
|
|
|
|
EVOBGP_REGISTRY=git.shts.su/denozord
|
|
EVOBGP_IMAGE_TAG=latest
|
|
|
|
# Имя compose-проекта (должно совпадать с name: в docker-compose.yaml)
|
|
COMPOSE_PROJECT_NAME=evobgp-microvps-full
|
|
|
|
# Каталог *.log на хосте (sidecar + API evobgp-all)
|
|
EVOBGP_RUNTIME_LOGS_HOST_DIR=/opt/evobgp/runtime-logs
|
|
|
|
# Traefik + Let's Encrypt (Cloudflare DNS challenge)
|
|
WEBUI_DOMAIN=bgp.example.com
|
|
WEBUI_IP_WHITELIST=203.0.113.10/32
|
|
LETSENCRYPT_EMAIL=[email protected]
|
|
CF_DNS_API_TOKEN=
|
|
|
|
# Auth-portal SSO → контейнер evobgp-all (не VITE_* — они только для build web)
|
|
AUTH_REQUIRED=true
|
|
AUTH_JWT_SECRET=
|
|
AUTH_ISSUER=https://auth.shnt.top
|
|
AUTH_PORTAL_URL=https://auth.shnt.top
|
|
EVOBGP_PORTAL_TENANT_ID=
|