-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
114 lines (110 loc) · 2.37 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
version: "3.9"
services:
service_a:
build: .
image: observability_service
container_name: service_a
environment:
- name=service_a
networks:
- docker-elk_elk
ports:
- "5000:5000"
service_aa:
build: .
image: observability_service
container_name: service_aa
environment:
- name=service_aa
networks:
- docker-elk_elk
service_ab:
build: .
image: observability_service
container_name: service_ab
environment:
- name=service_ab
networks:
- docker-elk_elk
service_aba:
build: .
image: observability_service
container_name: service_aba
environment:
- name=service_aba
networks:
- docker-elk_elk
service_abb:
build: .
image: observability_service
container_name: service_abb
environment:
- name=service_abb
networks:
- docker-elk_elk
redis_abb:
image: redis
command: redis-server --requirepass 1234
container_name: redis_abb
networks:
- docker-elk_elk
depends_on:
- service_abb
service_abaa:
build: .
image: observability_service
container_name: service_abaa
environment:
- name=service_abaa
networks:
- docker-elk_elk
service_ac:
build: .
image: observability_service
container_name: service_ac
environment:
- name=service_ac
networks:
- docker-elk_elk
service_aca:
build: .
image: observability_service
container_name: service_aca
environment:
- name=service_aca
networks:
- docker-elk_elk
service_acb:
build: .
image: observability_service
container_name: service_acb
environment:
- name=service_acb
networks:
- docker-elk_elk
# mail:
# image: bytemark/smtp
# restart: always
# container_name: mail
# alertmanager:
# image: prom/alertmanager
# container_name: alertmanager
# ports:
# - "9093:9093"
# volumes:
# - ./alertmanager.yml:/etc/alertmanager/alertmanager.yml
# depends_on:
# - mail
# prometheus:
# image: prom/prometheus
# container_name: prometheus
# ports:
# - "9090:9090"
# volumes:
# - ./prometheus.yml:/etc/prometheus/prometheus.yml
# - ./alert.rules.yml:/etc/prometheus/alert.rules.yml
# depends_on:
# - alertmanager
networks:
docker-elk_elk:
external: true