services: monitor: build: . ports: - "8000:8000" environment: MONITOR_LOG_LEVEL: INFO MONITOR_CHECK_TIMEOUT_SECONDS: "5" healthcheck: test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://127.0.0.1:8000/health/ready')"] interval: 10s timeout: 2s retries: 3