auth tests

This commit is contained in:
Giuseppe Naponiello
2026-06-22 14:31:44 +02:00
parent 34a8ebc6fb
commit cc4e174880
75 changed files with 4679 additions and 168 deletions

View File

@@ -35,7 +35,7 @@ services:
APP_KEY: ${APP_KEY}
APP_DEBUG: ${APP_DEBUG}
APP_ENV: ${APP_ENV}
DB_CONNECTION: mysql
DB_procedCONNECTION: mysql
DB_HOST: db
DB_PORT: ${DB_PORT}
DB_DATABASE: ${DB_DATABASE}
@@ -91,7 +91,10 @@ services:
MYSQL_USER: ${DB_USERNAME}
MYSQL_PASSWORD: ${DB_PASSWORD}
ports:
- "127.0.0.1:${DB_PORT}:3306"
# Porta PUBBLICATA sull'host (per client esterni) ≠ porta di connessione
# interna: i container raggiungono mysql su 3306 (DB_PORT), il forward host
# usa DB_HOST_PORT per non collidere con un MySQL nativo sulla 3306.
- "127.0.0.1:${DB_HOST_PORT}:3306"
volumes:
- mysql_data:/var/lib/mysql
# Nessun import di dump qui: i dati v2 arrivano da migration Laravel + ETL
@@ -126,7 +129,9 @@ services:
redis:
condition: service_healthy
ports:
- ${APP_BACKEND_PORT}:8000
# Solo loopback: in dev/prod l'accesso passa da Traefik/proxy, non serve
# esporre il backend sulla LAN.
- "127.0.0.1:${APP_BACKEND_PORT}:8000"
networks:
- internal
volumes: