fixed docker-compose to specify username and removed need for influx.conf

This commit is contained in:
Nicholas St. Germain 2019-01-03 22:05:15 -06:00
parent 056f5669a8
commit 02cda5deb1

View file

@ -6,15 +6,13 @@ services:
influxdb:
container_name: influxdb
hostname: influxdb
user: 911
user: auser
image: influxdb
networks:
- internal
volumes:
- /path/to/docker-influxdb/config-folder:/var/lib/influxdb
- /path/to/docker-influxdb/config-folder/influxdb.conf:/etc/influxdb/influxdb.conf:ro
restart: unless-stopped
command: -config /etc/influxdb/influxdb.conf
varken:
container_name: varken
hostname: varken
@ -33,7 +31,7 @@ services:
grafana:
container_name: grafana
hostname: grafana
user: 911
user: auser
image: grafana/grafana
networks:
- internal