-
Notifications
You must be signed in to change notification settings - Fork 17
/
docker-compose.yml
51 lines (51 loc) · 1.11 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
services:
openresty:
build:
context: .
dockerfile: Dockerfile
volumes:
- ./examples/openresty/nginx.conf:/etc/nginx/conf.d/default.conf
- .:/opt/opentelemetry-lua
depends_on:
- otel-collector
- test-server
networks:
- opentelemetry-lua
ports:
- 80:80
jaeger:
image: jaegertracing/all-in-one:1
ports:
- 26686:16686
networks:
- opentelemetry-lua
otel-collector:
image: otel/opentelemetry-collector-contrib:0.98.0
command: [ "--config=/etc/otel-collector-config.yaml" ]
volumes:
- ./otel-collector-config.yaml:/etc/otel-collector-config.yaml
depends_on:
- jaeger
networks:
- opentelemetry-lua
test-server:
build:
context: ./examples/server
depends_on:
- otel-collector
networks:
- opentelemetry-lua
test-client:
build:
context: ./examples/client
environment:
- PROXY_ENDPOINT=${PROXY_ENDPOINT}
networks:
- opentelemetry-lua
utils:
build:
context: ./utils
volumes:
- .:/opt/opentelemetry-lua
networks:
opentelemetry-lua: