mudah pakai docker
Docker compose
Tip
docker compose should already be installed on your system. If not, you can manually install it.
As the Docker command becomes more complex, switching to docker compose can be preferable and support automatically restarting on failure or system restart. Create a compose.yml file:
services:
homeassistant:
container_name: homeassistant
image: "ghcr.io/home-assistant/home-assistant:stable"
volumes:
- /PATH_TO_YOUR_CONFIG:/config
- /etc/localtime:/etc/localtime:ro
- /run/dbus:/run/dbus:ro
restart: unless-stopped
privileged: true
network_mode: host
ganti lokasi tanda merah
misal
volumes:
- /home/debian/homedk:/config
Start it by running:
docker compose up -d
Once the Home Assistant Container is running, Home Assistant should be accessible using http://<host>:8123 (replace with the hostname or IP of the system). You can continue with onboarding.
https://community.home-assistant.io/t/installing-home-assistant-supervised-using-debian-12/200253
systemd-resolved
Dinonaktifkan
Sebelum mengembalikan Pi-hole ke port 53
, pastikan tidak ada layanan lain yang menggunakan port tersebut (misalnya systemd-resolved
).
Periksa status systemd-resolved
:
Jika aktif, nonaktifkan:
Hapus symlink /etc/resolv.conf
:
Buat file /etc/resolv.conf
baru yang menunjuk ke Pi-hole:
B. Kembalikan Konfigurasi Pi-hole ke Port 53
install home assistane
sudo docker run -d \
--name homeassistant \
--privileged \
--restart=unless-stopped \
-v /home/debian/config:/config \
-p 8123:8123 \
ghcr.io/home-assistant/qemux86-64-homeassistant:2025.4.3