← All guides
Domoticz
Domoticz is a lightweight home automation system for monitoring and controlling lights, switches and a wide range of sensors, officially distributed as a Docker image with a documented Compose setup.
This guide is synthesized from Domoticz's own official documentation, linked above — always cross-check exact package/version names there before running these commands on a production server, since distro and project versions move over time.
1Create a project directory
mkdir -p /opt/domoticzcd /opt/domoticz2Create docker-compose.yml
Define the domoticz service using the official image, mapping port 8080 and persisting userdata.
services: domoticz: image: domoticz/domoticz:stable container_name: domoticz restart: unless-stopped ports: - "8080:8080" volumes: - ./config:/opt/domoticz/userdata environment: - TZ=Europe/Amsterdam
3Start Domoticz
docker compose up -d4First login
Open the web UI to run through initial setup.
Default access: http://<host-ip>:8080 (add an 8443:443 port mapping for HTTPS).