← Tous les 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.
Ce guide est élaboré à partir de la documentation officielle de Domoticz, dont le lien figure ci-dessus — vérifiez toujours les noms exacts des paquets/versions avant d'exécuter ces commandes sur un serveur de production, car les versions de la distribution et du projet évoluent avec le temps.
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).