infrastructure/ansible/roles/forrest/files/docker-compose-influxdb.yml

25 lines
563 B
YAML
Raw Normal View History

2021-02-14 16:24:45 +00:00
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
ports:
- 8086:8086
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:
- 8888:8888