From cc7d85a9c95fef048dcf16a8b6b7a856de2115a6 Mon Sep 17 00:00:00 2001 From: Justin Partain Date: Fri, 31 Jul 2020 14:31:33 -0500 Subject: [PATCH] Completed README - Finished writing `README.md` --- init/synology-docker-compose/.gitignore | 1 + init/synology-docker-compose/README.md | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 init/synology-docker-compose/.gitignore diff --git a/init/synology-docker-compose/.gitignore b/init/synology-docker-compose/.gitignore new file mode 100644 index 00000000..4c49bd78 --- /dev/null +++ b/init/synology-docker-compose/.gitignore @@ -0,0 +1 @@ +.env diff --git a/init/synology-docker-compose/README.md b/init/synology-docker-compose/README.md index d8e0aedc..5ac60d2e 100644 --- a/init/synology-docker-compose/README.md +++ b/init/synology-docker-compose/README.md @@ -25,3 +25,23 @@ You still have to [do this prep work](https://github.com/unifi-poller/unifi-poll #. Run the following command to find the PID of the user you created and set the variable `GRAFANA_LOCAL_USERID` in your `.env` file: - `sudo id grafana` - `GRAFANA_LOCAL_USERID=1026` + +##Variables + +For all of the variables used in the docker-compose file, make sure to not only read over but make important edits to the `docker-compose.example.env file. As well as making a copy and naming it `.env` + +For the `/local/storage/location/` lines, change those to match your directories. + +```bash +#influxdb +INFLUXDB_ADMIN_PASSWORD=changeme +INFLUXDB_LOCAL_VOLUME=/local/storage/location/influxdb + +#grafana +GRAFANA_USERNAME=grafana_username +GRAFANA_PASSWORD=changeme +GRAFANA_LOCAL_USERID=1026 + +UNIFI_PASS=set_this_on_your_controller +UNIFI_URL=https://127.0.0.1:8443 +```