-
Notifications
You must be signed in to change notification settings - Fork 0
/
compose.yaml
56 lines (48 loc) · 1.02 KB
/
compose.yaml
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
version: '3'
services:
mongo:
image: "mongo:5.0"
ports:
- "27017:27017"
volumes:
- mongodb_data:/data/db
restart: unless-stopped
prometheus:
image: prom/prometheus:v2.50.0
container_name: aet_prometheus
restart: always
command:
- --config.file=/etc/prometheus/prometheus.yml
volumes:
- ./docker/prometheus/prometheus.yml:/etc/prometheus/prometheus.yml
ports:
- "9090:9090"
networks:
- aet-network
extra_hosts:
- "host.docker.internal:host-gateway"
grafana:
image: grafana/grafana:10.2.6
container_name: aet_grafana
volumes:
- grafana_data:/var/lib/grafana
networks:
- aet-network
ports:
- "3000:3000"
loki:
image: grafana/loki:2.8.2
container_name: aet_loki
command: -config.file=/etc/loki/local-config.yaml
ports:
- "3100:3100"
networks:
- aet-network
volumes:
mongodb_data:
driver: local
grafana_data:
driver: local
networks:
aet-network:
driver: bridge