-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdocker-compose.yml
42 lines (38 loc) · 1021 Bytes
/
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
version: "3"
services:
#######################################
# TSDB: Prometheus
#######################################
prom:
image: "prom/prometheus"
restart: always
ports:
- "${PROM_PORT:-9090}:9090"
volumes:
- ./prometheus.yml:/etc/prometheus/prometheus.yml
#######################################
# Dashboarding: Grafana
#######################################
grafana:
image: "grafana/grafana:latest"
restart: always
ports:
- "${GRAFANA_PORT:-3000}:3000"
#######################################
# Service discovery: Consul
#######################################
consul:
image: "consul:latest"
restart: always
ports:
- "${CONSUL_PORT:-8500}:8500"
#######################################
# APImon
#######################################
apimon:
image: "ncarlier/apimon"
restart: always
environment:
- CONSUL_HTTP_ADDR=http://consul:8500
volumes:
- ./configuration.yml:/configuration.yml