From 73fec17bdbaf249bac06af184c4b8a1b8b8491da Mon Sep 17 00:00:00 2001 From: David Lee Date: Sun, 26 Apr 2020 17:05:17 -0700 Subject: [PATCH] Update docker compose and example env file for DPI and IDS polling Add two example env variables for folks who want want to add DPI and IDS polling options in their docker stack. --- init/docker/docker-compose.env.example | 4 +++- init/docker/docker-compose.yml | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/init/docker/docker-compose.env.example b/init/docker/docker-compose.env.example index 3722ef22..5e015fa4 100644 --- a/init/docker/docker-compose.env.example +++ b/init/docker/docker-compose.env.example @@ -11,6 +11,8 @@ GRAFANA_PASSWORD=grafanaadmin #unifi-poller POLLER_TAG=latest POLLER_DEBUG=false +POLLER_SAVE_IDS=false +POLLER_SAVE_DPI=false UNIFI_USER=unifipoller UNIFI_PASS=set_this_on_your_controller -UNIFI_URL=https://127.0.0.1:8443 +UNIFI_URL=https://127.0.0.1:8443 \ No newline at end of file diff --git a/init/docker/docker-compose.yml b/init/docker/docker-compose.yml index 4af07ed3..1f290fcc 100644 --- a/init/docker/docker-compose.yml +++ b/init/docker/docker-compose.yml @@ -51,6 +51,8 @@ services: - UP_UNIFI_DEFAULT_PASS=${UNIFI_PASS} - UP_UNIFI_DEFAULT_URL=${UNIFI_URL} - UP_POLLER_DEBUG=${POLLER_DEBUG} + - UP_UNIFI_DEFAULT_SAVE_IDS=${POLLER_SAVE_IDS} + - UP_UNIFI_DEFAULT_SAVE_DPI=${POLLER_SAVE_DPI} volumes: influxdb-storage: chronograf-storage: