forked from BrutalBirdie/eze-openHAB-docker
-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
131 lines (130 loc) · 3.47 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
version: "3.5"
services:
nginx:
image: nginx:latest
container_name: nginx
restart: always
networks:
- backbone
volumes:
- "${PWD}/nginx:/etc/nginx"
ports:
- 80:80
- 443:443
openhab:
image: "openhab/openhab:latest"
container_name: openhab
restart: always
networks:
#- host
- backbone
volumes:
# If you are on Windows delete the /etc/localtime and /etc/timezone lines
- "/etc/localtime:/etc/localtime:ro"
- "/etc/timezone:/etc/timezone:ro"
- "${PWD}/openhab/addons:/openhab/addons"
- "${PWD}/openhab/conf:/openhab/conf"
- "${PWD}/openhab/userdata:/openhab/userdata"
environment:
OPENHAB_HTTP_PORT: "8080"
OPENHAB_HTTPS_PORT: "8443"
USER_ID: ${UID}
GROUP_ID: ${GID}
EXTRA_JAVA_OPTS: "-Duser.timezone=Europe/Berlin"
ports:
- "8080:8080" # HTTP port of the web interface
- "8443:8443" # HTTPS port of the web interface
- "5007:5007" # LSP port for validating rules
- "1900:1900" # UPNP Discovery
- "1901:1901" # UPNP Discovery
- "1900:1900/udp" # UPNP Discovery
- "1901:1901/udp" # UPNP Discovery
- "6969:6969/udp" # Sonos
- "8008:8008" # Chromecast
- "8009:8009" # Chromecast
- "8008:8008/udp" # Chromecast
- "8009:8009/udp" # Chromecast
- "3689:3689" # Digital Audio Access Protocol (DAAP)
- "3689:3689/udp" # Digital Audio Access Protocol (DAAP)
- "5297:5297" # Bonjour
- "5297:5297/udp" # Bonjour
#- "5353:5353/udp" # Multicast DNS (mDNS)
frontail:
image: welteki/frontail-openhab:latest
container_name: frontail
restart: always
networks:
- backbone
ports:
- "8081:9001"
volumes:
- "${PWD}/openhab/userdata/logs:/var/log/openhab2:ro"
#command: "-p 8001 --ui-highlight --ui-highlight-preset /preset/openhab.json -t openhab /log/openhab.log /log/events.log"
influxdb:
image: arm32v7/influxdb:latest
container_name: influxdb
restart: always
networks:
- backbone
user: "${UID}:${GID}"
ports:
- "8083:8083"
- "8086:8086"
- "8090:8090"
- "25826:25826/udp"
- "2003:2003"
env_file:
# Check the file to set default password!
- "${PWD}/env.influxdb"
volumes:
- "${PWD}/influxdb/data:/var/lib/influxdb"
grafana:
image: grafana/grafana:latest
container_name: grafana
restart: always
networks:
- backbone
user: "${UID}:${GID}"
ports:
- "3000:3000"
env_file:
- "${PWD}/env.grafana"
links:
- influxdb
volumes:
- "${PWD}/grafana/data:/var/lib/grafana"
- "${PWD}/grafana/grafana-provisioning:/etc/grafana/provisioning"
#nodered:
# If you are running on RaspBerryPi change the image to
# nodered/node-red-docker:rpi
#image: nodered/node-red-docker:rpi
#container_name: nodered
#restart: always
#networks:
# - backbone
#user: root
#ports:
# - "1880:1880"
#volumes:
# - ./nodered:/data
mosquitto:
image: eclipse-mosquitto:latest
container_name: mosquitto
restart: always
networks:
- backbone
ports:
- "1883:1883"
- "1884:1884"
volumes:
- "${PWD}/mosquitto/conf:/mosquitto/config"
- "${PWD}/mosquitto/data:/mosquitto/data"
#renim:
#build: ./renim
#container_name: renim
#restart: unless-stopped
#env_file:
# - "${PWD}/env.renim"
networks:
backbone:
driver: bridge