version: '3' networks: internal: driver: bridge services: influxdb: hostname: influxdb container_name: influxdb image: influxdb networks: - internal volumes: - ~/opt/dockerconfigs/influxdb:/var/lib/influxdb restart: unless-stopped varken: hostname: varken container_name: varken image: boerderij/varken networks: - internal volumes: - ~/opt/dockerconfigs/varken:/config environment: - TZ=asia/singapore - VRKN_GLOBAL_TAUTULLI_SERVER_IDS=1 - VRKN_GLOBAL_MAXMIND_LICENSE_KEY= - VRKN_INFLUXDB_URL=influxdb - VRKN_INFLUXDB_PORT=8086 - VRKN_INFLUXDB_SSL=false - VRKN_INFLUXDB_VERIFY_SSL=false - VRKN_INFLUXDB_USERNAME=root - VRKN_INFLUXDB_PASSWORD=root - VRKN_TAUTULLI_1_URL= - VRKN_TAUTULLI_1_FALLBACK_IP=1.1.1.1 - VRKN_TAUTULLI_1_APIKEY= - VRKN_TAUTULLI_1_SSL=false - VRKN_TAUTULLI_1_VERIFY_SSL=false - VRKN_TAUTULLI_1_GET_ACTIVITY=true - VRKN_TAUTULLI_1_GET_ACTIVITY_RUN_SECONDS=30 - VRKN_TAUTULLI_1_GET_STATS=true - VRKN_TAUTULLI_1_GET_STATS_RUN_SECONDS=3600 depends_on: - influxdb restart: unless-stopped grafana: hostname: grafana container_name: grafana image: grafana/grafana networks: - internal ports: - 3000:3000 volumes: - ~/opt/dockerconfigs/varken:/config environment: - GF_PATHS_DATA=/config/data - GF_PATHS_LOGS=/config/logs - GF_PATHS_PLUGINS=/config/plugins - GF_INSTALL_PLUGINS=grafana-piechart-panel,grafana-worldmap-panel depends_on: - influxdb - varken restart: unless-stopped unifi-poller: hostname: unifipoller container_name: unifipoller image: golift/unifi-poller networks: - internal volumes: - ~/opt/dockerconfigs/unifipoller:/config environment: - UP_INFLUXDB_URL=http://influxdb:8086 - UP_UNIFI_DEFAULT_URL=https:// - UP_UNIFI_DEFAULT_USER= - UP_UNIFI_DEFAULT_PASS= - UP_POLLER_DEBUG=true - UP_UNIFI_DEFAULT_SAVE_DPI=true - UP_UNIFI_CONTROLLER_0_SAVE_DPI=true depends_on: - influxdb restart: unless-stopped