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:
|
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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue