-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
44 lines (40 loc) · 910 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
version: "3.9"
services:
main-source:
image: alexburlacu/rtp-server:faf18x
message-broker:
container_name: message-broker
depends_on:
- main-source
build:
context: ./message_broker
dockerfile: dockerfile.yml
volumes:
- ./message_broker/src:/broker/src
working_dir: /broker
tty: true
command: rebar3 shell
twitter-stream:
container_name: twitter-stream
depends_on:
- message-broker
build:
context: ./twitter_stream
dockerfile: dockerfile.yml
volumes:
- ./twitter_stream/src:/stream/src
working_dir: /stream
tty: true
command: rebar3 shell
client1:
container_name: client-1
depends_on:
- twitter-stream
build:
context: ./client1
dockerfile: dockerfile.yml
volumes:
- ./client1:/client1
working_dir: /client1
tty: true
command: rebar3 shell