mirror of
https://github.com/donpat1to/Schichtenplaner.git
synced 2025-12-01 15:05:45 +01:00
22 lines
501 B
YAML
22 lines
501 B
YAML
version: '3.8'
|
|
|
|
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: |