Self-host Home Assistant
Home automationdeployed & timed by usprices checked · Jul 2026
The open-source hub for home automation — local control of thousands of smart devices, with automations that run entirely on your own hardware.
Key facts
CategoryHome automation
LicenseApache-2.0
StackPython
Min RAM2048 MB
Dockeryes
Difficulty
What you need
- Any VPS with at least 2048 MB of RAM
- A domain you control — most self-hosted setups need HTTPS in front of them
- About an afternoon — budget time for troubleshooting
Install with Docker Compose
Save this as compose.yml and run docker compose up -d:
# Home Assistant (Container) — host networking for device discovery
services:
homeassistant:
image: ghcr.io/home-assistant/home-assistant:stable
network_mode: host
volumes: ["./config:/config"]
# docker compose up -d → http://SERVER_IP:8123