Completed README

- Finished writing `README.md`
This commit is contained in:
Justin Partain 2020-07-31 14:31:33 -05:00
parent 4b432b4552
commit cc7d85a9c9
No known key found for this signature in database
GPG Key ID: F79AB6D9DF23CEA6
2 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1 @@
.env

View File

@ -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
```