Move files into application directories
This commit is contained in:
29
ansible/roles/forrest/files/influxdb/docker-compose.yml
Normal file
29
ansible/roles/forrest/files/influxdb/docker-compose.yml
Normal file
@ -0,0 +1,29 @@
|
||||
version: "2.3"
|
||||
|
||||
services:
|
||||
influxdb:
|
||||
image: influxdb:1.8-alpine
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- /mnt/tank/dbs/influx/forrest:/var/lib/influxdb
|
||||
environment:
|
||||
- INFLUXDB_HTTP_AUTH_ENABLED=true
|
||||
networks:
|
||||
- default
|
||||
- grafana
|
||||
|
||||
chronograf:
|
||||
image: chronograf:1.8-alpine
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- INFLUXDB_URL=http://influxdb:8086
|
||||
- INFLUXDB_USERNAME=influxadmin
|
||||
- INFLUXDB_PASSWORD={{ influxdb_admin_password }}
|
||||
volumes:
|
||||
- ./chronograf:/var/lib/chronograf
|
||||
ports:
|
||||
- "{{ protected_ip }}:8888:8888"
|
||||
|
||||
networks:
|
||||
grafana:
|
||||
external: true
|
Reference in New Issue
Block a user