-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
48 lines (42 loc) · 895 Bytes
/
docker-compose.yml
File metadata and controls
48 lines (42 loc) · 895 Bytes
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
version: "3"
services:
db:
image: influxdb:2.0
ports:
- '8086:8086'
volumes:
- ./influxdbv2:/var/lib/influxdbv2
networks:
- app-to-db
- db-to-grafana
grafana:
image: grafana/grafana
ports:
- '3000:3000'
volumes:
- './grafana:/var/lib/grafana'
networks:
- db-to-grafana
depends_on:
- db
ssl:
build: .
restart: on-failure:10
volumes:
- ./sources/:/sources
environment:
- "LIST=/sources/list.yml"
networks:
- app-to-db
environment:
- "INFLUXDB-HOST=http://db:8086"
- LIST=/sources/list.yml
- INFLUXDB-TOKEN=km5CRgVxbOHg6XATMfD1LQAK6Ur4IS9wRjqReS0ZkcjT3Y3bVaVq5x-gfuuQRAczmviojioa56xNdf1qHp9Wog==
- INFLUXDB-ORG=PG3
- INFLUXDB-BUCKET=check-ssl
depends_on:
- db
- grafana
networks:
app-to-db:
db-to-grafana: