-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.bbn.yaml
67 lines (61 loc) · 1.53 KB
/
docker-compose.bbn.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
version: '3'
services:
bbn_msgs:
image: bbn_msgs
build:
context: .
dockerfile: bbn_msgs/Dockerfile
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
PYTHONUNBUFFERED: "1"
restart: unless-stopped
bbn_ctl:
image: bbn_msgs
build:
context: .
dockerfile: bbn_msgs/Dockerfile
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}
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_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_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