correzione a docker compose
All checks were successful
Deploy to VPS / build (push) Successful in 15s
Deploy to VPS / deploy (push) Successful in 16s

This commit is contained in:
AV77web 2026-07-12 03:40:16 +02:00
parent 28e9bfd528
commit adf6fbeff3

View file

@ -10,13 +10,13 @@ services:
environment:
NODE_ENV: production
DB_HOST: mysql
DB_PORT: 3309
PORT: 3007
DB_PORT: 3311
PORT: 3011
FRONTEND_URL: https://esameits24-26frontend.andreavillari.it
AUTH_URL: https://esameits24-26backend.andreavillari.it
AUTH_TRUST_HOST: "true"
ports:
- "127.0.0.1:3007:3007"
- "127.0.0.1:3011:3011"
depends_on:
mysql:
condition: service_healthy
@ -34,7 +34,7 @@ services:
- dbdata:/var/lib/mysql
- ./initdb:/docker-entrypoint-initdb.d # opzionale: script SQL iniziali
ports:
- "127.0.0.1:3310:3306"
- "127.0.0.1:3311:3306"
healthcheck:
test: ["CMD", "mysqladmin", "ping", "-h", "localhost"]
interval: 5s