Fix db, keyclaok .env.example e docker compose

This commit is contained in:
Lorenzo Sanesi
2026-07-25 12:10:54 +02:00
parent 5b7c82d359
commit 7cd0a1ff1b
7 changed files with 198 additions and 34 deletions
+3 -3
View File
@@ -1,11 +1,11 @@
PORT=8080
CORS_ORIGIN=http://localhost:4200
PORT=8001
CORS_ORIGIN=http://localhost:7001
DATABASE_URL=postgresql://postgres:postgres@localhost:5432/scouthub?schema=public
# Keycloak (realm condiviso con scouthub-home-be/-fe, vedi keycloak/realm-export.json
# alla radice del monorepo): usato solo per verificare i token, nessun client
# id/secret necessario qui.
KEYCLOAK_BASE_URL=http://localhost:8081
KEYCLOAK_BASE_URL=http://localhost:6999
KEYCLOAK_REALM=scouthub
# Database dedicato ai test automatici (Jest): tenuto separato dal DB di sviluppo