Created
October 23, 2022 00:48
-
-
Save petarvucetin/212863e00283f89a945fa768c71e9de5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3.5' | |
networks: | |
home_network: | |
external: true | |
services: | |
adguardhome: | |
container_name: adguardhome | |
image: adguard/adguardhome | |
networks: | |
- home_network | |
ports: | |
- "53:53/tcp" | |
- "53:53/udp" | |
- "81:81/tcp" | |
- "443:443/tcp" | |
- "443:443/udp" | |
- "3000:3000/tcp" | |
- "853:853/tcp" | |
- "784:784/udp" | |
- "853:853/udp" | |
- "8853:8853/udp" | |
- "5443:5443/tcp" | |
- "5443:5443/udp" | |
deploy: | |
replicas: 1 | |
restart_policy: | |
condition: any | |
volumes: | |
- /home/apps/adguard/work:/opt/adguardhome/work | |
- /home/apps/adguard/confdir:/opt/adguardhome/conf | |
homeassistant: | |
container_name: homeassistant | |
deploy: | |
replicas: 1 | |
restart_policy: | |
condition: any | |
environment: | |
- 'TZ=Americas/Los_Angeles' | |
image: ghcr.io/home-assistant/home-assistant:stable | |
labels: | |
com.centurylinklabs.watchtower.enable: 'false' | |
ports: | |
- "8123:8123" | |
- "1400:1400" | |
networks: | |
- home_network | |
privileged: true | |
volumes: | |
- /home/apps/homeassistant:/config:rw | |
- /var/run/dbus/:/var/run/dbus/:z | |
nodered: | |
container_name: nodered | |
deploy: | |
replicas: 1 | |
restart_policy: | |
condition: any | |
environment: | |
- 'TZ=Americas/Los=_Angeles' | |
- 'VIRTUAL_HOST=nodered.zus.local' | |
image: nodered/node-red | |
ports: | |
- '1880:1880' | |
networks: | |
- home_network | |
user: root:root | |
volumes: | |
- /home/apps/nodered/data:/data | |
esphome: | |
container_name: esphome | |
deploy: | |
replicas: 1 | |
restart_policy: | |
condition: any | |
image: esphome/esphome | |
environment: | |
- "ESPHOME_DASHBOARD_USE_PING=true" | |
ports: | |
- '6052:6052' | |
networks: | |
- home_network | |
privileged: true | |
volumes: | |
- /home/apps/esphome:/config:rw | |
mqtt: | |
container_name: mqtt | |
image: eclipse-mosquitto | |
networks: | |
- home_network | |
deploy: | |
replicas: 1 | |
restart_policy: | |
condition: any | |
ports: | |
- '1883:1883' | |
- '9001:9001' | |
restart: always | |
volumes: | |
- /home/apps/mosquitto:/mosquitto/ | |
- /home/apps/mosquitto/data:/mosquitto/data | |
- /home/apps/mosquitto/log:/mosquitto/log | |
watchtower: | |
command: '-s "0 0 1 * *" --cleanup' | |
container_name: watchtower | |
environment: | |
- 'WATCHTOWER_NOTIFICATIONS=email msteams' | |
- 'WATCHTOWER_NOTIFICATION_EMAIL_FROM=hassio@gmail.com' | |
- 'WATCHTOWER_NOTIFICATION_EMAIL_TO=zzzzzzzzzzzz' | |
- 'WATCHTOWER_NOTIFICATION_EMAIL_SERVER=zzzzzzzzzzzz' | |
- 'WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PORT=587' | |
- 'WATCHTOWER_NOTIFICATION_EMAIL_SERVER_USER=zzzzzzzzzzzz' | |
- 'WATCHTOWER_NOTIFICATION_EMAIL_SERVER_PASSWORD=zzzzzzzzzzzz' | |
- 'WATCHTOWER_NOTIFICATION_EMAIL_DELAY=2' | |
- 'WATCHTOWER_NOTIFICATION_MSTEAMS_HOOK_URL=https://...........' | |
- 'WATCHTOWER_NOTIFICATION_MSTEAMS_USE_LOG_DATA=true' | |
image: containrrr/watchtower | |
networks: | |
- home_network | |
restart: always | |
volumes: | |
- /var/run/docker.sock:/var/run/docker.sock | |
zwave-js-ui: | |
container_name: zwave-js-ui | |
image: zwavejs/zwave-js-ui:latest | |
restart: always | |
tty: true | |
stop_signal: SIGINT | |
environment: | |
- SESSION_SECRET=zzzzzzzzzzzzzzz | |
- ZWAVEJS_EXTERNAL_CONFIG=/usr/src/app/store/.config-db | |
- TZ=America/Lost_Angeles | |
networks: | |
- home_network | |
devices: | |
- /dev/serial/by-id/usb-Silicon_Labs_HubZ_Smart_Home_Controller_813002C1-if00-port0:/dev/zwave | |
volumes: | |
- /home/apps/zwave-js-ui:/usr/src/app/store | |
ports: | |
- "8091:8091" # port for web interface | |
- "3005:3000" # port for Z-Wave JS websocket server | |
uptime-kuma: | |
image: louislam/uptime-kuma:1 | |
container_name: uptime-kuma | |
volumes: | |
- /home/apps/uptime-kuma-data:/app/data | |
- /var/run/docker.sock:/var/run/docker.sock | |
ports: | |
- 3010:3001 | |
networks: | |
- home_network | |
restart: always |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment