Files
scouthub/.env.example
T
2026-07-23 19:18:34 +02:00

28 lines
966 B
Bash

# Configurazione per docker-compose (postgres + backend + frontend + keycloak)
POSTGRES_USER=postgres
POSTGRES_PASSWORD=postgres
POSTGRES_DB=scouthub
POSTGRES_PORT=5432
ATTIVITA_BACKEND_PORT=8080
# Deve restare 8080: il frontend Angular ha l'URL dell'API hardcoded
# in src/environments/environment.ts (apiUrl: 'http://localhost:8080')
ATTIVITA_FRONTEND_PORT=4200
KEYCLOAK_DB_PASSWORD=keycloak_change_me
KEYCLOAK_ADMIN_PASSWORD=admin_change_me
# Se in locale esegui anche scouthub-home-be fuori da Docker (npm run dev),
# il suo PORT di default (8082) è già scelto per non collidere con questo.
KEYCLOAK_PORT=8081
# Deve restare 8082: scouthub-home-fe ha l'URL dell'org-service hardcoded
# in src/environments/environment.ts (orgServiceApiBaseUrl: 'http://localhost:8082')
HOME_BACKEND_PORT=8082
HOME_FRONTEND_PORT=4201
# Deve coincidere con il secret del client "scouthub-home-be" in keycloak/realm-export.json
KEYCLOAK_ORG_SERVICE_CLIENT_SECRET=change_me