-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
128 lines (120 loc) · 2.75 KB
/
Copy pathdocker-compose.yml
File metadata and controls
128 lines (120 loc) · 2.75 KB
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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
version: '2'
volumes:
resin-data:
services:
wifi-connect:
image: bh.cr/balenalabs/wifi-connect-aarch64
restart: always
ports:
- "81:81"
privileged: true
network_mode: host
hostname:
image: bh.cr/g_tomas_migone1/hostname-armv7hf
restart: no # Required to avoid container restarting indefinitely
labels:
io.balena.features.supervisor-api: 1 # Required to interact with the supervisor
environment:
SET_HOSTNAME: bubblesnet-controller
activemq:
image: bh.cr/gh_bubblesnet/activemq-5_17-block
privileged: true
restart: always
ports:
- "61611:61611"
- "61612:61612"
- "61613:61613"
- "61614:61614"
- "8161:8161"
- "8162:8162"
- "8163:8163"
- "8164:8164"
labels:
io.balena.features.kernel-modules: '1'
io.balena.features.dbus: '1'
volumes:
- 'resin-data:/config'
- 'resin-data:/activemq_conf'
- 'resin-data:/logs_shared'
database:
image: bh.cr/gh_bubblesnet/postgresql-11-block
privileged: true
restart: always
ports:
- "5432:5432"
labels:
io.balena.features.kernel-modules: '1'
io.balena.features.dbus: '1'
volumes:
- 'resin-data:/postgresql_shared'
- 'resin-data:/data'
- 'resin-data:/logs_shared'
api:
build: server
privileged: true
restart: always
depends_on:
- database
- activemq
ports:
- "4001:4001"
- "4002:4002"
- "4003:4003"
- "4004:4004"
labels:
io.balena.features.kernel-modules: '1'
io.balena.features.dbus: '1'
volumes:
- 'resin-data:/config'
- 'resin-data:/postgresql_shared'
- 'resin-data:/logs_shared'
queue:
build: server
privileged: true
restart: always
depends_on:
- database
- api
- activemq
labels:
io.balena.features.kernel-modules: '1'
io.balena.features.dbus: '1'
volumes:
- 'resin-data:/config'
- 'resin-data:/logs_shared'
websocket:
build: server
privileged: true
restart: always
depends_on:
- activemq
ports:
- "5001:5001"
- "5002:5002"
- "5003:5003"
- "5004:5004"
labels:
io.balena.features.kernel-modules: '1'
io.balena.features.dbus: '1'
volumes:
- 'resin-data:/config'
- 'resin-data:/logs_shared'
ui:
build: client
privileged: true
restart: always
depends_on:
- websocket
- api
ports:
- "80:3004"
- "81:3001"
- "83:3003"
- "82:3002"
- "443:3045"
labels:
io.balena.features.kernel-modules: '1'
io.balena.features.dbus: '1'
volumes:
- 'resin-data:/config'
- 'resin-data:/logs_shared'