feat: migración a PostgreSQL, tiempo real SSE, Dockerfile y compose para Coolify
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
# Configuración del Servidor y Base de Datos PostgreSQL
|
||||
PORT=3000
|
||||
NODE_ENV=production
|
||||
|
||||
# Conexión PostgreSQL (Formato URL o componentes individuales)
|
||||
DATABASE_URL=postgresql://postgres:postgres_password_e3@db:5432/encuesta_e3
|
||||
|
||||
# Variables alternativas de PostgreSQL
|
||||
POSTGRES_HOST=db
|
||||
POSTGRES_PORT=5432
|
||||
POSTGRES_DB=encuesta_e3
|
||||
POSTGRES_USER=postgres
|
||||
POSTGRES_PASSWORD=postgres_password_e3
|
||||
DATABASE_SSL=false
|
||||
|
||||
# Clave secreta para funciones de administrador (Restablecer votos)
|
||||
ADMIN_SECRET=RESETEOE3
|
||||
Reference in New Issue
Block a user