25 lines
515 B
Text
25 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
|