-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose-local.yml
62 lines (60 loc) · 1.46 KB
/
docker-compose-local.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
version: "3.9"
services:
imalive-api:
restart: always
image: imalive-api:latest
container_name: imalive-api
build:
context: .
dockerfile: ./Dockerfile
target: api
env_file:
- .env
ports:
- "8080:8080"
networks:
- imalive-net
otel-collector:
restart: always
image: otel/opentelemetry-collector:latest
container_name: otel-collector
command: ["--config=/etc/otel-collector-config.yaml"]
volumes:
- .docker/otel-collector-config.yaml:/etc/otel-collector-config.yaml
ports:
- "1888:1888" # pprof extension
- "8888:8888" # Prometheus metrics exposed by the collector
- "8889:8889" # Prometheus exporter metrics
- "13133:13133" # health_check extension
- "4317:4317" # OTLP gRPC receiver
- "4318:4318" # OTLP gRPC receiver
- "55679:55679" # zpages extension
depends_on:
- jaeger
networks:
- imalive-net
jaeger:
restart: always
image: jaegertracing/all-in-one:latest
container_name: jaeger
ports:
- "16686:16686"
networks:
- imalive-net
prometheus:
image: prom/prometheus
container_name: prometheus
ports:
- 9090:9090
volumes:
- .docker/prometheus.yml:/etc/prometheus/prometheus.yml
networks:
- imalive-net
restart: always
imalive-tests:
build:
context: .
dockerfile: ./Dockerfile
target: unit_tests
networks:
imalive-net: