forked from nimarion/promcord
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml.sample
38 lines (37 loc) · 949 Bytes
/
docker-compose.yml.sample
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
version: '3'
services:
promcord:
image: "biospheere/promcord"
restart: always
env_file: .env
container_name: "promcord"
expose:
- 8080
prometheus:
image: "prom/prometheus"
restart: always
container_name: "disport-prom"
volumes:
- './prometheus.yml:/etc/prometheus/prometheus.yml'
- prometheus:/prometheus
command:
- '--config.file=/etc/prometheus/prometheus.yml'
- '--storage.tsdb.path=/prometheus'
- '--web.console.libraries=/usr/share/prometheus/console_libraries'
- '--web.console.templates=/usr/share/prometheus/consoles'
- '--storage.tsdb.retention.time=200h'
grafana:
image: "grafana/grafana"
restart: always
volumes:
- grafana_data:/var/lib/grafana
- ./provisioning:/etc/grafana/provisioning
ports:
- 80:3000
depends_on:
- prometheus
links:
- prometheus
volumes:
prometheus:
grafana_data: