version: '3.8' services: api: environment: - FLASK_ENV=development - FLASK_DEBUG=1 volumes: - .:/app command: > flask run --host=0.0.0.0 --port=5000 --reload healthcheck: test: ["CMD", "curl", "-f", "http://localhost:5000/api/health"] interval: 30s timeout: 10s retries: 3 start_period: 60s