Fix sql e migration
This commit is contained in:
+3
-3
@@ -10,7 +10,7 @@ services:
|
||||
- "${POSTGRES_PORT}:5432"
|
||||
volumes:
|
||||
- scouthub_db_data:/var/lib/postgresql/data
|
||||
# Crea anche i DB scouthub_home / scouthub_magazzino / scouthub_eventi
|
||||
# Crea anche i DB scouthub / scouthub_magazzino / scouthub_eventi
|
||||
# usati dagli altri backend, sulla stessa istanza (solo al primo init).
|
||||
- ./db-init:/docker-entrypoint-initdb.d:ro
|
||||
healthcheck:
|
||||
@@ -26,7 +26,7 @@ services:
|
||||
environment:
|
||||
PORT: ${ATTIVITA_BACKEND_PORT}
|
||||
CORS_ORIGIN: http://localhost:${ATTIVITA_FRONTEND_PORT}
|
||||
DATABASE_URL: postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@db:5432/${POSTGRES_DB}?schema=public
|
||||
DATABASE_URL: postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@db:5432/scouthub?schema=public
|
||||
KEYCLOAK_BASE_URL: http://keycloak:8080
|
||||
KEYCLOAK_REALM: scouthub
|
||||
ports:
|
||||
@@ -55,7 +55,7 @@ services:
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
PORT: ${HOME_BACKEND_PORT}
|
||||
DATABASE_URL: postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@db:5432/scouthub_home?schema=public
|
||||
DATABASE_URL: postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@db:5432/${POSTGRES_DB}?schema=public
|
||||
FRONTEND_BASE_URL: http://localhost:${HOME_FRONTEND_PORT}
|
||||
# Rete interna Docker: la validazione del JWT (JWKS) non controlla l'issuer,
|
||||
# quindi non serve che coincida con l'hostname visto dal browser (localhost:8081).
|
||||
|
||||
Reference in New Issue
Block a user