services: uptime-monitor: build: . image: uptime-monitor:latest container_name: uptime-monitor restart: unless-stopped volumes: - ./config.yaml:/config/config.yaml:ro # No network wiring to InfluxDB is needed here — config.yaml's # influx.url just needs to be reachable (hostname/IP + port) from # this container, e.g. because it's exposed on the host/LAN already.