-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
77 lines (70 loc) · 1.94 KB
/
docker-compose.yaml
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
version: '3'
services:
bbn_msgs:
image: bbn_msgs
build: .
container_name: bbn_msgs
network_mode: host
environment:
PTG_URL: http://localhost:7890 #$PTG_URL
ZMQ_ADDRESS: ${BBN_MSG_URL:-tcp://localhost:5555}
#PTG_URL: $PTG_URL
#ZMQ_ADDRESS: tcp://bbn_msgs_test:5555
#ZMQ_ADDRESS: tcp://localhost:5555
PYTHONUNBUFFERED: "1"
restart: unless-stopped
bbn_msgs2:
image: bbn_msgs
build: .
container_name: bbn_msgs2
network_mode: host
environment:
PTG_URL: http://localhost:7890 #$PTG_URL
ZMQ_ADDRESS: ${BBN_MSG_URL2:-tcp://localhost:5556}
STREAM_PREFIX: "model2"
PYTHONUNBUFFERED: "1"
restart: unless-stopped
bbn_ctl:
image: bbn_msgs
build: .
container_name: bbn_ctl
command: main.py run_ctl_listener
network_mode: host
environment:
#PTG_URL: $PTG_URL
#ZMQ_ADDRESS: tcp://bbn_ctl_test:5555
PTG_URL: http://localhost:7890 #$PTG_URL
ZMQ_ADDRESS: ${BBN_CTL_URL:-tcp://localhost:5555}
#ZMQ_ADDRESS: tcp://localhost:5555
PYTHONUNBUFFERED: "1"
restart: unless-stopped
# # test containers
# bbn_msgs_test:
# image: bbn_msgs
# build:
# context: .
# dockerfile: bbn_msgs/Dockerfile
# expose: ["5555"]
# container_name: bbn_msgs_test
# command: test/test_steps.py
# environment:
# PTG_URL: $PTG_URL
# PYTHONUNBUFFERED: "1"
# restart: unless-stopped
# bbn_ctl_test:
# image: bbn_msgs
# build:
# context: .
# dockerfile: bbn_msgs/Dockerfile
# expose: ["5555"]
# container_name: bbn_ctl_test
# command: test/test_ctl.py
# environment:
# PTG_URL: $PTG_URL
# PYTHONUNBUFFERED: "1"
# restart: unless-stopped
# connect these containers to the server containers
networks:
default:
name: ptg
external: true