feat: update Next.js configuration to enable standalone output for improved deployment

This commit is contained in:
Julien Froidefond
2025-11-29 12:15:19 +01:00
parent 1f666713e8
commit b3157fffbd
7 changed files with 139 additions and 1 deletions

17
docker-compose.yml Normal file
View File

@@ -0,0 +1,17 @@
services:
app:
build:
context: .
dockerfile: Dockerfile
ports:
- "3011:3000"
environment:
- NODE_ENV=production
- DATABASE_URL=file:/app/data/dev.db
- AUTH_SECRET=${AUTH_SECRET:-your-secret-key-change-in-production}
- AUTH_TRUST_HOST=true
- AUTH_URL=${AUTH_URL:-http://localhost:3011}
volumes:
- ./data:/app/data
restart: unless-stopped