Files
docker-vuegraf/docker-compose.yaml
2024-10-19 18:08:37 +00:00

23 lines
576 B
YAML

version: "3.5"
services:
vue-influxdb:
image: influxdb
container_name: vue-influxdb
ports:
- 8086:8086
volumes:
- influxdb-storage:/var/lib/influxdb2
environment:
- INFLUXD_SESSION_LENGTH=432000
restart: always
vuegraf:
image: jertel/vuegraf
container_name: vuegraf
depends_on:
- vue-influxdb
volumes:
- ./:/opt/vuegraf/conf #This assumes you have created a folder called vuegraf and placed the vuegraf.json file inside of it.
restart: always
volumes:
influxdb-storage: