created unpoller

This commit is contained in:
2026-06-06 00:20:32 -07:00
parent fadf170e88
commit 0bdbde5c5b
2 changed files with 33 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
# Unpoller Docker Compose Environment Variables
# Version of the unpoller image to use
# See: https://github.com/unpoller/unpoller/releases
UNPOLLER_VERSION=latest
# Absolute path on the host to the unpoller config file (up.conf)
# This file configures the UniFi controller connection(s) and output plugins (Prometheus/InfluxDB)
# See: https://unpoller.com/docs/install/configuration/
UNPOLLER_UP_CONF_PATH=/path/to/up.conf
+23
View File
@@ -0,0 +1,23 @@
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