mirror of
https://github.com/donpat1to/Schichtenplaner.git
synced 2025-11-30 22:45:46 +01:00
26 lines
562 B
YAML
26 lines
562 B
YAML
version: '3.8'
|
|
|
|
services:
|
|
schichtplan:
|
|
build:
|
|
context: .
|
|
dockerfile: backend/Dockerfile
|
|
ports:
|
|
- "3001:3001"
|
|
- "3000:3000"
|
|
environment:
|
|
- NODE_ENV=production
|
|
- DATABASE_URL=file:./prod.db
|
|
- JWT_SECRET=your-production-secret-key-change-this
|
|
- PYTHON_PATH=/usr/bin/python3
|
|
volumes:
|
|
- app_data:/app/data
|
|
restart: unless-stopped
|
|
healthcheck:
|
|
test: ["CMD", "curl", "-f", "http://localhost:3001/health"]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 3
|
|
|
|
volumes:
|
|
app_data: |