-
Notifications
You must be signed in to change notification settings - Fork 2
/
home-stack.yaml
98 lines (90 loc) · 2.63 KB
/
home-stack.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
version: "3.8"
services:
mosquitto:
image: eclipse-mosquitto
ports:
- "1883:1883"
volumes:
- /media/cluster/mosquitto/:/mosquitto/config/
- /media/cluster/mosquitto/:/mosquitto/data
- /var/log:/mosquitto/log
node-red:
image: nodered/node-red:latest
ports:
- "1880:1880"
environment:
- Europe/Sweden
volumes:
- /media/cluster/node-red:/data
networks:
- default
- proxy_default
deploy:
labels:
- "traefik.enable=true"
- "traefik.http.routers.nodered-secure.rule=Host(`nodered.humby.co.za`)&&PathPrefix(`/webhook`)"
- "traefik.http.routers.nodered-secure.entrypoints=websecure"
- "traefik.http.routers.nodered-insecure.rule=Host(`nodered.humby.co.za`)&&PathPrefix(`/spotify/albumart`)"
- "traefik.http.routers.nodered-insecure.entrypoints=web"
- "traefik.http.routers.nodered-secure.tls.certresolver=mytlschallenge"
- "traefik.http.services.nodered.loadbalancer.server.port=1880"
homeassistant:
image: homeassistant/home-assistant:stable
ports:
- "8123:8123"
# Apple HomeKit
- mode: host
protocol: udp
published: 5353
target: 5353
- mode: host
protocol: tcp
published: 21063
target: 21063
# Shelly CoIoT https://www.home-assistant.io/integrations/shelly/#shelly-device-configuration-generation-1
- mode: host
protocol: udp
published: 5683
target: 5683
volumes:
- /media/cluster/homeassistant:/config
networks:
- default
- proxy_default
deploy:
labels:
- "traefik.enable=true"
- "traefik.http.routers.homeassistant-secure.rule=Host(`home.humby.co.za`)"
- "traefik.http.routers.homeassistant-secure.entrypoints=websecure"
- "traefik.http.routers.homeassistant-secure.tls.certresolver=mytlschallenge"
- "traefik.http.services.homeassistant.loadbalancer.server.port=8123"
esphome:
image: esphome/esphome
ports:
- "6052:6052"
volumes:
- /media/cluster/esphome/:/config
environment:
- ESPHOME_DASHBOARD_USE_PING=true
homepage:
image: ghcr.io/gethomepage/homepage:latest
ports:
- "8081:3000"
volumes:
- /media/cluster/homepage:/app/config
syslog:
image: lscr.io/linuxserver/syslog-ng:latest
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Stockholm
volumes:
- /media/cluster/syslog:/config
- /media/cluster/syslog/log:/var/log
ports:
- 514:5514/udp
- 601:6601/tcp
networks:
default: {}
proxy_default:
external: true