-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
executable file
·125 lines (118 loc) · 2.87 KB
/
docker-compose.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
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
version: '3'
services:
###--- Home Assistant Setup ---###
homeassistant:
container_name: hass
image: homeassistant/home-assistant
volumes:
- /opt/appdata/hass/config:/config
- /etc/localtime:/etc/localtime:ro
restart: always
environment:
- PUID=1000
- GUID=1000
labels:
traefik.enable: "true"
traefik.frontend.redirect.entryPoint: "https"
traefik.frontend.rule: "Host:hass.wooster.xyz"
traefik.port: "8123"
traefik.docker.network: "plexguide"
ports:
- 8123:8123
networks:
- homeassistant
- plexguide
###--- Node-red Setup ---###
nodered:
build: ./image
container_name: nodered
image: node-red-docker:v8
volumes:
- nodereddata:/data
- noderedmodules:/node_app/node_modules
- /etc/localtime:/etc/localtime:ro
restart: always
environment:
- PUID=1000
- GUID=1000
labels:
traefik.enable: "true"
traefik.frontend.redirect.entryPoint: "https"
traefik.frontend.rule: "Host:nodered.wooster.xyz"
traefik.port: "1880"
traefik.docker.network: "plexguide"
ports:
- 1880:1880
networks:
- homeassistant
- plexguide
###--- MariaDb Setup ---###
mariadb_hass:
container_name: mariadb_hass
image: mariadb
volumes:
- mariadb:/var/lib/mysql
- /etc/localtime:/etc/localtime:ro
restart: always
environment:
MYSQL_ROOT_PASSWORD: "Greta1"
MYSQL_DATABASE: "homeassistant"
MYSQL_USER: "hassdb"
MYSQL_USER: "Greta1"
networks:
- homeassistant
###--- mosquitto Setup ---###
mosquitto:
container_name: mosquitto
image: eclipse-mosquitto
volumes:
- mosquitto_config:/mosquitto/config
- mosquitto_data:/mosquitto/data
- mosquitto_log:/mosquitto/log
- /opt/appdata/mosquitto/mosquitto.conf:/mosquitto/mosquitto.conf
restart: always
environment:
- PUID=1000
- GUID=1000
# labels:
# traefik.enable: "true"
# traefik.frontend.redirect.entryPoint: "https"
# traefik.frontend.rule: "Host:mqtt.wooster.xyz"
# traefik.port: "1883"
ports:
- 1883:1883
- 9001:9001
networks:
- homeassistant
###--- TasmoAdmin Setup ---###
tasmoadmin:
container_name: tasmoadmin
image: raymondmm/tasmoadmin
volumes:
- tasmoconfig:/data
environment:
- PUID=1000
- GUID=1000
labels:
traefik.enable: "true"
traefik.frontend.redirect.entryPoint: "https"
traefik.frontend.rule: "Host:tasmoadmin.wooster.xyz"
traefik.port: "80"
traefik.docker.network: "plexguide"
networks:
- homeassistant
- plexguide
volumes:
nodereddata:
noderedmodules:
mariadb:
mosquitto_config:
mosquitto_data:
mosquitto_log:
tasmoconfig:
networks:
homeassistant:
driver: bridge
plexguide:
external:
name: plexguide