fixed docker-compose to specify username and removed need for influx.conf
This commit is contained in:
parent
056f5669a8
commit
02cda5deb1
1 changed files with 2 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue