services: parent-call: build: . container_name: parent-call restart: unless-stopped env_file: .env network_mode: host # Asks only whether the coordinator itself is working. A broker or a # sanctuary Mac that is down is reported in the body, but must not # restart the container: restarting would fix neither and would throw # away the queue on the way past. healthcheck: test: ["CMD", "curl", "-fsS", "http://127.0.0.1:${HEALTH_PORT:-8099}/health"] interval: 30s timeout: 5s start_period: 10s retries: 3 logging: driver: json-file options: max-size: "10m" max-file: "3"