Fix url
Deploy stack su Proxmox / deploy (push) Successful in 6m26s

This commit is contained in:
Lorenzo Sanesi
2026-08-06 21:03:56 +02:00
parent fb5423f625
commit 66bb936dce
8 changed files with 138 additions and 60 deletions
+18 -3
View File
@@ -30,13 +30,28 @@ ATTIVITA_BACKEND_PORT=8001
MAGAZZINO_BACKEND_PORT=8002
EVENTI_BACKEND_PORT=8003
# Deve coincidere con il secret del client "scouthub-home-be" in keycloak/realm-export.json
# URL pubbliche dei servizi, cosi' come raggiungibili dal browser (e da Keycloak per i redirect
# OIDC). Di default puntano a localhost sulle porte sopra, per lo sviluppo locale. Quando lo
# stack va in produzione dietro un reverse proxy (es. Caddy) con dominio pubblico, sovrascrivere
# ognuna con l'URL reale, senza porta (es. https://home.tuodominio.it) - vedi Caddyfile.example
# in root per un setup di riferimento con un sottodominio per servizio.
KEYCLOAK_PUBLIC_URL=http://localhost:6999
HOME_FE_PUBLIC_URL=http://localhost:7000
ATTIVITA_FE_PUBLIC_URL=http://localhost:7001
MAGAZZINO_FE_PUBLIC_URL=http://localhost:7002
EVENTI_FE_PUBLIC_URL=http://localhost:7003
HOME_BE_PUBLIC_URL=http://localhost:8000
ATTIVITA_BE_PUBLIC_URL=http://localhost:8001
MAGAZZINO_BE_PUBLIC_URL=http://localhost:8002
EVENTI_BE_PUBLIC_URL=http://localhost:8003
# Deve coincidere con il secret del client "scouthub-home-be" in keycloak/realm-export.template.json
KEYCLOAK_ORG_SERVICE_CLIENT_SECRET=change_me
# Deve coincidere con il secret del client "scouthub-magazzino-be" in keycloak/realm-export.json
# Deve coincidere con il secret del client "scouthub-magazzino-be" in keycloak/realm-export.template.json
KEYCLOAK_MAGAZZINO_CLIENT_SECRET=change_me
# Deve coincidere con il secret del client "scouthub-eventi-be" in keycloak/realm-export.json
# Deve coincidere con il secret del client "scouthub-eventi-be" in keycloak/realm-export.template.json
# (secret condiviso anche con scouthub-attivita-be e scouthub-magazzino-be, che lo usano per
# chiamare POST /eventi/:id/risorse su scouthub-eventi-be)
KEYCLOAK_EVENTI_CLIENT_SECRET=change_me