Files
Yodmon/docker-compose.yml
2026-04-17 09:36:34 +02:00

40 lines
1.9 KiB
YAML

version: '3.8'
services:
yodmon:
build: .
container_name: yodmon
restart: unless-stopped
ports:
- "161:161/udp" # SNMP — polled by Zabbix every minute
- "8088:8080" # Web UI
volumes:
- yodmon_data:/data
environment:
# ── Yodeck ────────────────────────────────────────────────────────────
YODECK_API_TOKEN: "yodeck:fXQKm1hLvJY88necL3GiLVntpmyNS5BpKp8MpDK8GH2UvCPrg8BeHwpBSQaEtF0q"
YODECK_POLL_INTERVAL_MINUTES: "10"
# ── SNMP ──────────────────────────────────────────────────────────────
SNMP_COMMUNITY: "public"
# Private Enterprise Number OID for this application.
# All player data is served under this subtree.
ENTERPRISE_OID: ".1.3.6.1.4.1.99999"
# ── Network ───────────────────────────────────────────────────────────
# IP address (or hostname) of THIS host, reachable by the Zabbix server.
# Zabbix will send SNMP polls to this address on port 161.
APP_HOST: "192.168.1.100" # ← change to your actual host IP
# ── Zabbix API (optional) ─────────────────────────────────────────────
# Leave ZABBIX_URL empty to disable automatic host management.
# Requires Zabbix 6.0+.
ZABBIX_URL: "" # e.g. "http://zabbix.example.com"
ZABBIX_USER: "Admin"
ZABBIX_PASSWORD: ""
ZABBIX_HOST_GROUP: "Yodeck Players"
ZABBIX_SNMP_COMMUNITY: "public"
volumes:
yodmon_data: