services: app: image: ghcr.io/unpoller/unpoller:${UNPOLLER_VERSION:-latest} container_name: unifi-poller-app volumes: - ${UNPOLLER_UP_CONF_PATH}:/etc/unpoller/up.conf networks: - monitor_network healthcheck: test: ["CMD-SHELL", "wget --no-verbose --tries=1 --spider http://127.0.0.1:9130/metrics || exit 1"] interval: 15s timeout: 5s retries: 5 start_period: 30s deploy: resources: limits: memory: 512m restart: unless-stopped networks: monitor_network: external: true