added a different health check and changed container name

This commit is contained in:
2026-06-06 00:27:50 -07:00
parent a6adeb1077
commit 37bdfbebe1
+7 -1
View File
@@ -1,11 +1,17 @@
services: services:
app: app:
image: ghcr.io/unpoller/unpoller:${UNPOLLER_VERSION:-latest} image: ghcr.io/unpoller/unpoller:${UNPOLLER_VERSION:-latest}
container_name: unifi-poller-app container_name: monitor-unifi-poller
volumes: volumes:
- ${UNPOLLER_UP_CONF_PATH}:/etc/unpoller/up.conf - ${UNPOLLER_UP_CONF_PATH}:/etc/unpoller/up.conf
networks: networks:
- monitor_network - monitor_network
healthcheck:
test: ["CMD", "/usr/bin/unpoller", "--health"]
interval: 15s
timeout: 5s
retries: 5
start_period: 30s
deploy: deploy:
resources: resources:
limits: limits: