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: influxdb:
container_name: influxdb container_name: influxdb
hostname: influxdb hostname: influxdb
user: 911 user: auser
image: influxdb image: influxdb
networks: networks:
- internal - internal
volumes: volumes:
- /path/to/docker-influxdb/config-folder:/var/lib/influxdb - /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 restart: unless-stopped
command: -config /etc/influxdb/influxdb.conf
varken: varken:
container_name: varken container_name: varken
hostname: varken hostname: varken
@ -33,7 +31,7 @@ services:
grafana: grafana:
container_name: grafana container_name: grafana
hostname: grafana hostname: grafana
user: 911 user: auser
image: grafana/grafana image: grafana/grafana
networks: networks:
- internal - internal