---
version: "2"
services:
domoticz:
image: linuxserver/domoticz:2023.2.20231129
container_name: domoticz
restart: unless-stopped
environment:
- WEBROOT=domoticz # Sets webroot to domoticz for usage with subfolder reverse proxy. Not needed unless reverse proxying.
- TZ=Europe/London # Specify a timezone to use EG Europe/London.
- PUID=1000 # for UserID
- PGID=1000 # for GroupID
volumes:
- /host/path/to/config:/config # Where Domoticz stores config files and data.
ports:
- 8080:8080/tcp # WebUI
- 6144:6144/tcp # Domoticz communication port.
- 1443:1443/tcp # Domoticz communication port.
devices:
- /path/to/usb:/path/to/usb # (Optional) For passing through USB devices.