forked from iuriaranda/signalk-mqtt-bridge
-
Notifications
You must be signed in to change notification settings - Fork 0
/
compose.dev.yaml
37 lines (37 loc) · 961 Bytes
/
compose.dev.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
version: "3"
services:
mosquitto:
image: eclipse-mosquitto
ports:
- "1883:1883"
- "9001:9001"
volumes:
- mosquitto-config:/mosquitto/config
- mosquitto-data:/mosquitto/data
- mosquitto-log:/mosquitto/log
restart: always
signalk:
image: signalk/signalk-server
ports:
- "3000:3000"
volumes:
- signalk:/home/node/.signalk/
- ./:/usr/lib/node_modules/signalk-mqtt-bridge
environment:
- DEBUG=signalk-mqtt-bridge,signalk-server:put,signalk-server:interfaces:plugins
entrypoint:
- /bin/sh
- -c
- |
cd /home/node/.signalk/
npm link signalk-mqtt-bridge
service dbus restart
/usr/sbin/avahi-daemon -k
/usr/sbin/avahi-daemon --no-drop-root &
/home/node/signalk/bin/signalk-server --securityenabled --sample-n2k-data
restart: always
volumes:
mosquitto-config:
mosquitto-data:
mosquitto-log:
signalk: