added a different health check and changed container name
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user