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:
app:
image: ghcr.io/unpoller/unpoller:${UNPOLLER_VERSION:-latest}
container_name: unifi-poller-app
container_name: monitor-unifi-poller
volumes:
- ${UNPOLLER_UP_CONF_PATH}:/etc/unpoller/up.conf
networks:
- monitor_network
healthcheck:
test: ["CMD", "/usr/bin/unpoller", "--health"]
interval: 15s
timeout: 5s
retries: 5
start_period: 30s
deploy:
resources:
limits: