Skip to content

Instantly share code, notes, and snippets.

@phuctu1901
Created September 26, 2021 03:11
Show Gist options
  • Save phuctu1901/6b0f05e75253ae53159bb2a84d23f72e to your computer and use it in GitHub Desktop.
Save phuctu1901/6b0f05e75253ae53159bb2a84d23f72e to your computer and use it in GitHub Desktop.
version: '3'
services:
homeassistant:
container_name: home-assistant
image: homeassistant/home-assistant:stable
volumes:
- ./homeassistant_data:/config
environment:
- TZ=Asia/Ho_Chi_Minh
restart: always
network_mode: host
mosquitto:
container_name: mosquitto
image: eclipse-mosquitto
volumes:
- mosquitto_data:/mosquitto
environment:
- TZ=Asia/Ho_Chi_Minh
restart: always
network_mode: host
# letsencrypt:
# container_name: letsencrypt
# image: linuxserver/letsencrypt
# cap_add:
# - NET_ADMIN
# volumes:
# - letsencrypt_data:/config
# environment:
# - PUID=1000
# - PGID=1000
# - TZ=Asia/Ho_Chi_Minh
# - URL=fit-rd-iot.duckdns.org
# - SUBDOMAINS=www,wildcard
# - VALIDATION=duckdns
# - DUCKDNSTOKEN=5d0a5aeb-6c15-4555-9f5a-033cbc020a51
# - EMAIL=phuctu1901@github.com
# restart: always
# network_mode: host
# zigbee2mqtt:
# container_name: zigbee2mqtt
# image: koenkk/zigbee2mqtt:1.8.0
# volumes:
# - ./zigbee2mqtt_data:/app/data
# environment:
# - TZ=Asia/Ho_Chi_Minh
# devices:
# # CC2530 / GBAN GB2530S
# - /dev/ttyUSB0:/dev/ttyUSB0
# restart: always
# network_mode: host
volumes:
mosquitto_data:
# letsencrypt_data:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment