-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
68 lines (58 loc) · 1.61 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
version: "3.9"
services:
gateway-api:
build:
context: ./
dockerfile: ./src/Gateway/Dockerfile
depends_on:
- rabbitmq
volumes:
- ./config/gateway-api/appsettings.json:/app/appsettings.json
ports:
- "8080:8080"
ordering-api:
build:
context: ./
dockerfile: ./src/Ordering/Dockerfile
depends_on:
- rabbitmq
- mongo
volumes:
- ./config/ordering-api/appsettings.json:/app/appsettings.json
rabbitmq:
image: rabbitmq:3-management
mongo:
image: mongo
grafana:
image: grafana/grafana
environment:
- GF_PATHS_PROVISIONING=/etc/grafana/provisioning
- GF_AUTH_ANONYMOUS_ENABLED=true
- GF_AUTH_ANONYMOUS_ORG_ROLE=Admin
volumes:
- ./config/grafana/ds.yaml:/etc/grafana/provisioning/datasources/ds.yaml
ports:
- "3000:3000"
loki:
image: grafana/loki
command: -config.file=/etc/loki/local-config.yaml
tempo:
image: grafana/tempo:latest
command: [ "-config.file=/etc/tempo.yaml" ]
volumes:
- ./config/tempo/tempo.yaml:/etc/tempo.yaml
prometheus:
image: prom/prometheus
command:
- --config.file=/etc/prometheus.yaml
- --web.enable-remote-write-receiver
- --enable-feature=exemplar-storage
volumes:
- ./config/prometheus/prometheus.yaml:/etc/prometheus.yaml
ports:
- "9090:9090"
otel-collector:
image: otel/opentelemetry-collector-contrib
command: [ "--config=/etc/otel-collector-config.yml" ]
volumes:
- ./config/otel-collector/otel-collector-config.yml:/etc/otel-collector-config.yml