-
Notifications
You must be signed in to change notification settings - Fork 20
/
docker-compose.yml
53 lines (50 loc) · 1.27 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
queue:
extends:
file: base-docker.yml
service: base
command: "python zmq-queue.py"
volumes:
- /projects/personal/flask-react-bootstrap:/srv
ports:
- 5559:5559
- 5560:5560
- 5570:5570
server:
extends:
file: base-docker.yml
service: base
command: "python zmq-server.py"
environment:
FRB_QUEUE_HOST: queue
# mapping vagrant shared folder to the image /srv so I can change files w/o rebuilding the container to speed up dev time
# volumes:
# - /projects/personal/flask-react-bootstrap:/srv
links:
- queue
client:
extends:
file: base-docker.yml
service: base
command: "python zmq-client.py"
environment:
FRB_QUEUE_HOST: queue
# mapping vagrant shared folder to the image /srv so I can change files w/o rebuilding the container to speed up dev time
# volumes:
# - /projects/personal/flask-react-bootstrap:/srv
links:
- queue
- server
web:
extends:
file: base-docker.yml
service: base
command: "python app.py"
environment:
FRB_QUEUE_HOST: queue
# mapping vagrant shared folder to the image /srv so I can change files w/o rebuilding the container to speed up dev time
# volumes:
# - /projects/personal/flask-react-bootstrap:/srv
links:
- queue
ports:
- 5000:5000