forked from Boerderij/Varken
-
Notifications
You must be signed in to change notification settings - Fork 5
/
docker-compose.yml
50 lines (46 loc) · 1.04 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
version: '3'
networks:
internal:
driver: bridge
services:
influxdb:
hostname: influxdb
container_name: influxdb
image: influxdb:1.8
networks:
- internal
volumes:
- /path/to/docker-influxdb/config-folder:/var/lib/influxdb
restart: unless-stopped
varken:
hostname: varken
container_name: varken
image: ghcr.io/thezak48/varken:develop
networks:
- internal
volumes:
- /path/to/docker-varken/config-folder:/config
environment:
- TZ=Europe/London
depends_on:
- influxdb
restart: unless-stopped
grafana:
hostname: grafana
container_name: grafana
image: grafana/grafana
networks:
- internal
ports:
- 3000:3000
volumes:
- /path/to/docker-grafana/config-folder:/config
environment:
- GF_PATHS_DATA=/config/data
- GF_PATHS_LOGS=/config/logs
- GF_PATHS_PLUGINS=/config/plugins
- GF_INSTALL_PLUGINS=grafana-piechart-panel
depends_on:
- influxdb
- varken
restart: unless-stopped