-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
66 lines (60 loc) · 1.21 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
version: '3'
services:
app:
privileged: true
build: .
image: codebox_app
volumes:
- .:/opt/build
- varrun:/var/run
- /tmp/storage:/home/codebox/storage:rshared
depends_on:
- dind
- redis
environment:
- WRAPPERPATH=/opt/build/build/codewrapper
dind:
privileged: true
network_mode: host
image: docker:18-dind
command:
- /scripts/dind-run.sh
volumes:
- varrun:/var/run
- /tmp/storage:/home/codebox/storage:rslave
- ./deploy/dind-run.sh:/scripts/dind-run.sh
- /sys/fs/cgroup:/sys/fs/cgroup:ro
environment:
- IPTABLES=1
- SETUP_FILTERING=0
# - RUNSC_RELEASE=2018-11-22
redis:
image: redis:5-alpine
volumes:
- data-redis:/data
ports:
- "6379"
rabbitmq:
image: rabbitmq:3.8-alpine
volumes:
- data-rabbitmq:/data
ports:
- "5672"
- "15672"
jaeger:
image: jaegertracing/all-in-one:1.17
environment:
- COLLECTOR_ZIPKIN_HTTP_PORT=9411
ports:
- "5775"
- "6831"
- "6832"
- "5778"
- "16686:16686"
- "14268:14268"
- "14250"
- "9411:9411"
volumes:
varrun:
data-rabbitmq:
data-redis: