-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
63 lines (60 loc) · 1.45 KB
/
docker-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
57
58
59
60
61
62
63
version: "3"
services:
consul:
image: "hashicorp/consul:latest"
ports:
- "8500:8500"
mysql:
image: "mysql:latest"
ports:
- 3307:3306
environment:
- MYSQL_DATABASE=demo_proto
- MYSQL_ROOT_PASSWORD=root
# - MYSQL_RANDOM_ROOT_PASSWORD="yes"
redis:
image: "redis:latest"
ports:
- 6379:6379
nats:
image: "nats:latest"
ports:
- 4222:4222
- 8222:8222
prometheus:
image: prom/prometheus:latest
volumes:
- ./deploy/config/prometheus.yml:/etc/prometheus/prometheus.yml
command:
- "--config.file=/etc/prometheus/prometheus.yml"
ports:
- "9090:9090"
grafana:
image: grafana/grafana:latest
environment:
- GF_AUTH_ANONYMOUS_ENABLED=true
- GF_AUTH_ANONYMOUS_ORG_ROLE=Admin
- GF_AUTH_DISABLE_LOGIN_FORM=true
ports:
- "3000:3000"
# Jaeger
jaeger-all-in-one:
container_name: jaeger-all-in-one
image: jaegertracing/all-in-one:latest
ports:
- "16686:16686"
- "4317:4317"
- "4318:4318"
loki:
image: grafana/loki:2.9.2
volumes:
- ./deploy/config/loki.yml:/etc/loki/local-config.yaml
command: -config.file=/etc/loki/local-config.yaml
ports:
- "3100:3100"
promtail:
image: grafana/promtail:2.9.2
volumes:
- ./deploy/config/promtail.yml:/etc/promtail/config.yml
- ./app/frontend/log:/logs/frontend
command: -config.file=/etc/promtail/config.yml