modificata la porta MySQL
All checks were successful
Deploy to VPS / build (push) Successful in 17s
Deploy to VPS / deploy (push) Successful in 15s

This commit is contained in:
AV77web 2026-07-14 00:06:37 +02:00
parent 747365556f
commit 4bbdd64f48
2 changed files with 13 additions and 1 deletions

View file

@ -10,7 +10,10 @@ services:
environment:
NODE_ENV: production
DB_HOST: mysql
DB_PORT: 3311
DB_PORT: 3306
DB_NAME: ${MYSQL_DATABASE}
DB_USER: ${MYSQL_USER}
DB_PASSWORD: ${MYSQL_PASSWORD}
PORT: 3011
FRONTEND_URL: https://esameits24-26frontend.andreavillari.it
AUTH_URL: https://esameits24-26backend.andreavillari.it

View file

@ -0,0 +1,9 @@
-- Eseguire manualmente su un database già esistente se gli utenti di test non sono presenti.
-- Password per tutti: Password123!
USE `esameits24-26`;
INSERT IGNORE INTO utente (Nome, Cognome, Email, PasswordHash, Ruolo) VALUES
('Andrea', 'Villari', 'admin@example.it', '$2b$10$7Z80qZcDydZCdLrOcaH/VOa9knKWjQVyyg8MtEgBAvgfNMsiLEZze', 'Amministratore'),
('Maria', 'Bianchi', 'maria.bianchi@example.it', '$2b$10$7Z80qZcDydZCdLrOcaH/VOa9knKWjQVyyg8MtEgBAvgfNMsiLEZze', 'Operatore'),
('Luca', 'Conti', 'luca.conti@example.it', '$2b$10$7Z80qZcDydZCdLrOcaH/VOa9knKWjQVyyg8MtEgBAvgfNMsiLEZze', 'Operatore');