forked from open-telemetry/opentelemetry-ruby
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
88 lines (71 loc) · 1.56 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
version: "3.5"
x-shared-config:
base: &base
command: /bin/bash
image: opentelemetry/opentelemetry-ruby
stdin_open: true
tmpfs:
- /tmp
tty: true
user: "1000:1000"
volumes:
- .:/app:cached
- bundle:/bundle
services:
api:
<<: *base
working_dir: /app/api
app:
<<: *base
build:
context: .
working_dir: /app
ex-adapter-concurrent-ruby:
<<: *base
working_dir: /app/adapters/concurrent_ruby/example
ex-adapter-ethon:
<<: *base
working_dir: /app/adapters/ethon/example
ex-adapter-excon:
<<: *base
working_dir: /app/adapters/excon/example
ex-adapter-faraday:
<<: *base
working_dir: /app/adapters/faraday/example
ex-adapter-net-http:
<<: *base
working_dir: /app/adapters/net_http/example
ex-adapter-rack:
<<: *base
working_dir: /app/adapters/rack/example
ex-adapter-redis:
<<: *base
environment:
- REDIS_URL=redis://redis:6379
depends_on:
- redis
working_dir: /app/adapters/redis/example
ex-adapter-restclient:
<<: *base
working_dir: /app/adapters/restclient/example
ex-adapter-sidekiq:
<<: *base
working_dir: /app/adapters/sidekiq/example
ex-adapter-sinatra:
<<: *base
command: ./start_server.sh
working_dir: /app/adapters/sinatra/example
ex-http:
<<: *base
command: ./start_server.sh
working_dir: /app/examples/http
redis:
image: redis:5.0-alpine
volumes:
- redis_data:/data
sdk:
<<: *base
working_dir: /app/sdk
volumes:
bundle:
redis_data: