23 lines
522 B
YAML
23 lines
522 B
YAML
services:
|
|
app:
|
|
image: ghcr.io/unpoller/unpoller:${UNPOLLER_VERSION:-latest}
|
|
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:
|
|
memory: 512m
|
|
restart: unless-stopped
|
|
|
|
networks:
|
|
monitor_network:
|
|
external: true |