MirrorNest
← 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.

Système : Any Docker hostHome AutomationSite officiel ↗Documentation officielle ↗
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.
  1. 1Create a project directory

    mkdir -p /opt/domoticz
    cd /opt/domoticz
  2. 2Create 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

  3. 3Start Domoticz

    docker compose up -d
  4. 4First login

    Open the web UI to run through initial setup.

    Default access: http://<host-ip>:8080 (add an 8443:443 port mapping for HTTPS).