-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
45 lines (40 loc) · 1.05 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
version: '3.7'
services:
prometheus:
image: prom/prometheus:latest
volumes:
- ./monitoring/prometheus.yml:/etc/prometheus/prometheus.yml
- ./monitoring/prometheus.alert.yml:/etc/prometheus/prometheus.alert.yml
ports:
- "9090:9090"
networks:
- monitoring-example
alertmanager:
image: prom/alertmanager:latest
volumes:
- ./monitoring/alertmanager.yml:/etc/alertmanager/alertmanager.yml
ports:
- "9093:9093"
networks:
- monitoring-example
infobip-prometheus-alerting:
build:
context: ./infobip-prometheus-alerting
dockerfile: Dockerfile
environment:
INFOBIP_BASE_URL: ${INFOBIP_BASE_URL}
INFOBIP_API_KEY: ${INFOBIP_API_KEY}
SENDER_NUMBER: ${SENDER_NUMBER}
RECEIVER_NUMBER: ${RECEIVER_NUMBER}
depends_on:
prometheus:
condition: service_started
alertmanager:
condition: service_started
ports:
- "8080:8080"
networks:
- monitoring-example
networks:
monitoring-example:
driver: bridge