-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
85 lines (80 loc) · 1.84 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
version: '3'
services:
xbar:
build: .
network_mode: "host"
# ports:
# - "8083:8083"
working_dir: /node/
entrypoint: crossbar start --cbdir /node/.crossbar --config /node/.crossbar/config.json
redis:
image: redis
container_name: redis
network_mode: "host"
expose:
- 6379
# ports:
# - "6379:6379"
extra_hosts:
- "xbar:127.0.0.1"
volumes:
- ./data:/data,
helper:
build: .
entrypoint: pypy3 /node/components/lambents/lib/helpers.py
working_dir: /node/components
restart: on-failure
network_mode: "host"
depends_on:
- xbar
environment:
- PYTHONPATH=/node
- XBAR_ROUTER=ws://xbar:8083/ws
extra_hosts:
- "xbar:127.0.0.1"
scan_8266:
build: .
entrypoint: pypy3 /node/components/scan_77778266.py
working_dir: /node/components
restart: on-failure
network_mode: "host"
depends_on:
- helper
- redis
environment:
- PYTHONPATH=/node
- XBAR_ROUTER=ws://xbar:8083/ws
- LA4_REDIS=127.0.0.1
extra_hosts:
- "xbar:127.0.0.1"
- "redis:127.0.0.1"
# sysctls:
# - net.ipv4.ip_forward=1
machine:
build: .
entrypoint: pypy3 /node/components/lambents/lib/machine.py
working_dir: /node/components
restart: on-failure
network_mode: "host"
depends_on:
- xbar
- scan_8266
environment:
- PYTHONPATH=/node
- XBAR_ROUTER=ws://xbar:8083/ws
- LA4_CONFIG_PATH=../default.yml
extra_hosts:
- "xbar:127.0.0.1"
link:
build: .
entrypoint: pypy3 /node/components/lambents/routing/links.py
working_dir: /node/components
restart: on-failure
network_mode: "host"
depends_on:
- xbar
environment:
- PYTHONPATH=/node
- XBAR_ROUTER=ws://xbar:8083/ws
extra_hosts:
- "xbar:127.0.0.1"