added entrypoint for docker

This commit is contained in:
2025-10-28 23:07:40 +01:00
parent 65ebf1748b
commit 5319ed5d7a
7 changed files with 95 additions and 10 deletions

View File

@@ -4,11 +4,19 @@ services:
schichtplaner:
container_name: schichtplaner
image: ghcr.io/donpat1to/schichtenplaner:v1.0.0
environment:
- NODE_ENV=production
- JWT_SECRET=${JWT_SECRET:-your-secret-key-please-change}
ports:
- "3002:3002"
volumes:
- app_data:/app/data
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:3002/api/health"]
interval: 30s
timeout: 10s
retries: 3
volumes:
app_data: