Skip to content

Instantly share code, notes, and snippets.

@LordVeovis
Created August 19, 2022 11:53
Show Gist options
  • Save LordVeovis/087f20bd3af189d05a90ba1acc9f28f5 to your computer and use it in GitHub Desktop.
Save LordVeovis/087f20bd3af189d05a90ba1acc9f28f5 to your computer and use it in GitHub Desktop.
zigbee
version: '3.5'
networks:
default:
services:
nginx:
image: nginx:alpine
restart: unless-stopped
deploy:
resources:
limits:
memory: 50M
reservations:
memory: 25M
ports:
- 443:443
environment:
TZ: Europe/Paris
volumes:
- ./nginx:/etc/nginx/conf.d:ro
homeassistant:
image: ghcr.io/home-assistant/home-assistant:stable
restart: unless-stopped
deploy:
resources:
limits:
memory: 512M
reservations:
memory: 350M
networks:
default:
environment:
TZ: Europe/Paris
volumes:
- /etc/localtime:/etc/localtime:ro
- /srv/openhab/homeassistant:/config
zigbee2mqtt:
image: koenkk/zigbee2mqtt
restart: always
user: 1000:dialout
depends_on:
- mosquitto
deploy:
resources:
limits:
memory: 512M
reservations:
memory: 350M
devices:
- /dev/ttyACM0:/dev/ttyACM0
networks:
default:
environment:
TZ: Europe/Paris
ports:
- 1280:1280
volumes:
- /srv/openhab/zigbee2mqtt:/app/data
- /run/udev:/run/udev:ro
mosquitto:
image: eclipse-mosquitto:2-openssl
restart: always
deploy:
resources:
limits:
memory: 50M
reservations:
memory: 10M
ports:
- 1883:1883
networks:
default:
volumes:
- ./mosquitto:/mosquitto
#deconz:
# #image: marthoc/deconz
# image: deconzcommunity/deconz:stable
# restart: "no"
# #network_mode: host
# ports:
# - 1180:1180
# - 1143:1143
# - 1159:5900
# networks:
# default:
# devices:
# - /dev/ttyACM0:/dev/ttyACM0
# environment:
# DECONZ_WEB_PORT: "1180"
# DECONZ_WS_PORT: "1143"
# DECONZ_UPNP: "0"
# DECONZ_VNC_MODE: "1"
# DECONZ_VNC_PORT: "5900"
# DECONZ_VNC_PASSWORD: azer
# TZ: Europe/Paris
# volumes:
# - /etc/localtime:/etc/localtime:ro
# - /srv/openhab/deconz:/opt/deCONZ
# #- /srv/openhab/deconz:/root/.local/share/desden-elektronik/deCONZ
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment