Solo items y usuarios
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
services:
|
||||
web:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: backend/Dockerfile
|
||||
container_name: infinity-web
|
||||
ports:
|
||||
- "6060:3000"
|
||||
volumes:
|
||||
# Persistencia: los cambios en JSON se guardan en el host
|
||||
- ./data:/app/data
|
||||
- ./Imagenes:/app/Imagenes
|
||||
environment:
|
||||
- NODE_ENV=production
|
||||
- PORT=3000
|
||||
# ⚠️ Cambiar esta clave en producción por algo aleatorio y secreto
|
||||
- SESSION_SECRET=cambia-esta-clave-en-produccion-12345
|
||||
restart: unless-stopped
|
||||
Reference in New Issue
Block a user