ShiftScheduler/docker-compose.yml
copilot-swe-agent[bot] 6dc7d6cecd Add comprehensive Docker support with multiple build options
Co-authored-by: clayschaad <11883505+clayschaad@users.noreply.github.com>
2025-08-22 09:53:34 +00:00

20 lines
No EOL
471 B
YAML

version: '3.8'
services:
shiftscheduler:
build:
context: .
dockerfile: Dockerfile
ports:
- "5000:5000"
environment:
- ASPNETCORE_ENVIRONMENT=Production
- ASPNETCORE_URLS=http://+:5000
restart: unless-stopped
container_name: shiftscheduler-app
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:5000/", "||", "exit", "1"]
interval: 30s
timeout: 10s
retries: 3
start_period: 40s