-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
131 lines (121 loc) · 3.81 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
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
129
130
131
smarthome-ng:
# build: smarthome-ng-dev/.
#image: henfri/smarthome-ng-dev:latest
image: julakali/smarthome-ng:v1.4.2
volumes:
- ./config/smarthomeng/etc:/usr/local/smarthome/etc
- ./config/smarthomeng/items:/usr/local/smarthome/items
- ./config/smarthomeng/logics:/usr/local/smarthome/logics
- ./config/smarthomeng/scenes:/usr/local/smarthome/scenes
- ./config/smarthomeng/tools:/usr/local/smarthome/tools
# - ./config/smarthomeng/var:/usr/local/smarthome/var # var needs to contain a "run" and "log" directory, makes no sense as volume
- ./config/smarthomeng/plugins/ag980:/usr/local/smarthome/plugins/ag980
- ./config/smarthomeng/plugins/logiceditor:/usr/local/smarthome/plugins/logiceditor
- ./config/smarthomeng/plugins/lohberger:/usr/local/smarthome/plugins/lohberger
- ./config/smarthomeng/plugins/uzsu:/usr/local/smarthome/plugins/uzsu
- ./config/smarthomeng/plugins/whatsapp:/usr/local/smarthome/plugins/whatsapp
- ./config/smarthomeng/plugins/denon:/usr/local/smarthome/plugins/denon
- ./config/smarthomeng/plugins/wol:/usr/local/smarthome/plugins/wol
- ./config/smarthomeng/plugins/speech:/usr/local/smarthome/plugins/speech
- ./config/smarthomeng/plugins/influx:/usr/local/smarthome/plugins/influx
- ./config/smarthomeng/plugins/alexa:/usr/local/smarthome/plugins/alexa
- ./config/smarthomeng/plugins/chromecast:/usr/local/smarthome/plugins/chromecast
- ./config/smarthomeng/plugins/IpythonServer:/usr/local/smarthome/plugins/IpythonServer
- ./smartVISU:/usr/local/smarthome/smartvisu
# - /dev/Lohberger:/dev/Lohberger
privileged: true
ports:
- "2323:2323" # cli port (telnet)
- "2424:2424" # smartvisu websocket port
# - "2788:2788"
- "8383:8383" # backend port
- "4321:4321" # http servicesport (rest)
# - "9010:9010"
## - "1900:1900"
## - "1900:1900/udp"
links:
# - "knxd"
# - "owfs"
# - "smartvisu"
- "grafana"
- "influxdb"
# net: "host"
# command: "/usr/local/bin/run.sh"
# command: "/usr/local/smarthome/bin/smarthome.py"
# command: "/bin/bash"
restart: always
knxd:
# build: ./knxd/.
image: julakali/knxd:v0.14.24-1
ports:
# - "4720:4720"
- "6720:6720"
- "3671/udp:3671/udp"
- "3672:3672"
net: "host"
# command: knxd -e 1.1.240 -E 1.1.241:8 -DTRS -c -i --send-delay=30 -b ipt:192.168.2.220
# mount own config to knxd.ini!
volumes:
- ./config/knxd.ini:/etc/knxd.ini
command: knxd /etc/knxd.ini
restart: always
#owfs:
# build: ./owfs/.
# image: henfri/owfs
# devices:
# - /dev/PBM:/dev/PBM
# - /dev/ttyUSB0:/dev/ttyUSB0
# command: /usr/sbin/owserver -p 0.0.0.0:4304 --pbm=/dev/ttyUSB0 --error_level=0 --error_print=2 --foreground > /dev/null 2>&1 #/dev/PBM -uall -uscan
# command: /bin/sh -c "/usr/sbin/owserver -p 0.0.0.0:4304 --pbm=/dev/ttyUSB0 & while true; do sleep 120; done"
# ports:
# - "4304:4304"
# command: /usr/bin/supervisord
# restart: always
# privileged: true
smartvisu:
# image: julakali/nginx-php-fpm
image: richarvey/nginx-php-fpm
# image: henfri/smartvisu
volumes:
- ./smartVISU/:/var/www/html
ports:
- 8080:80
links:
- smarthome-ng
restart: always
influxdb:
image: influxdb:latest
volumes:
- influxdata:/var/lib/influxdb
ports:
- 8083:8083
- 8086:8086
- 8090:8090
restart: always
grafana:
image: grafana/grafana:latest
volumes:
- grafanadata:/var/lib/grafana
ports:
- 3000:3000
restart: always
links:
- influxdb
#openhab:
# image: "openhab/openhab:2.2.0-amd64-debian"
# restart: always
# net: host
# tty: true
# volumes:
# - "/etc/localtime:/etc/localtime:ro"
# - "/etc/timezone:/etc/timezone:ro"
# - "./openhab/userdata:/openhab/userdata"
# - "./openhab/conf:/openhab/conf"
# environment:
# OPENHAB_HTTP_PORT: "8082"
# OPNEHAB_HTTPS_PORT: "8444"
# ports:
# - 8082:8080
# - 8444:8443
# command: server
# user: "997"