-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
48 lines (41 loc) · 907 Bytes
/
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
version: '3'
services:
rabbitmq:
image: 'rabbitmq:3.6-management-alpine'
ports:
- '5672:5672'
- '15672:15672'
expose:
- "15672"
restart: always
orchestrator:
build: orchestrator
volumes:
- ./orchestrator:/app
- /var/run/docker.sock:/var/run/docker.sock
- /usr/bin/docker:/usr/bin/docker
environment:
- PYTHONUNBUFFERED=1
ports:
- 80:80
slave:
build: slave
volumes:
- ./slave:/app
- /var/run/docker.sock:/var/run/docker.sock
- /usr/bin/docker:/usr/bin/docker
environment:
- PYTHONUNBUFFERED=1
master:
build: master
volumes:
- ./master:/app
- /var/run/docker.sock:/var/run/docker.sock
- /usr/bin/docker:/usr/bin/docker
environment:
- PYTHONUNBUFFERED=1
Zookeeper:
image: 'zookeeper'
ports:
- 2181:2181
restart: always