Files
baby-monitor/docker-compose.yml
T
Brian Bjarke Jensen 54f658d093
Python Code Quality / python-code-quality (push) Successful in 9s
Python Test / python-test (push) Failing after 8s
initial commit
2025-11-04 21:03:16 +01:00

23 lines
527 B
YAML

version: "3.8"
services:
app:
build:
context: .
dockerfile: Dockerfile
ports:
- "8000:8000"
volumes:
# Mount source code for hot-reloading during development
- ./src:/app/src:ro
environment:
- ENVIRONMENT=development
command: ["--host", "0.0.0.0", "--port", "8000", "--reload"]
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8000/health"]
interval: 30s
timeout: 10s
retries: 3
start_period: 5s