Files
LehrerApp/docker-compose.yml
2026-03-29 23:47:31 +02:00

19 lines
415 B
YAML

services:
api:
build:
context: .
dockerfile: Dockerfile.api
ports:
- "5000:5000"
volumes:
- ./data:/app/data
environment:
- JWT_SECRET=${JWT_SECRET}
- ASPNETCORE_ENVIRONMENT=Production
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:5000/api/sync/status"]
interval: 30s
timeout: 10s
retries: 3