esameits24-26backend/.env.example
AV77web 38c945f31d
All checks were successful
Deploy to VPS / build (push) Successful in 17s
Deploy to VPS / deploy (push) Successful in 21s
modifica e deploy.yml, correzione in cors.ts, creazione file Readme.md
2026-07-14 14:48:05 +02:00

24 lines
515 B
Text

# MySQL (docker-compose)
MYSQL_ROOT_PASSWORD=rootpassword
MYSQL_DATABASE=esameits24-26
MYSQL_USER=esameits
MYSQL_PASSWORD=esameits_password
# Server
PORT=3011
NODE_ENV=development
# Database (sviluppo locale senza Docker: usa localhost)
DB_HOST=localhost
DB_PORT=3306
DB_NAME=esameits24-26
DB_USER=esameits
DB_PASSWORD=esameits_password
# Auth.js
AUTH_SECRET=cambia-con-stringa-casuale-lunga
AUTH_URL=http://localhost:3011
AUTH_TRUST_HOST=true
# CORS — origine del frontend
FRONTEND_URL=http://localhost:5173