Skip to content

Self-host Home Assistant

updated Jul 2026prices checked · Aug 2026Install verified on Ubuntu 26.04 · Jul 2026 · how we test

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

More self-hosted tools

We use analytics cookies (Google Analytics, PostHog) to see which guides are useful. No ad networks, no cross-site tracking. See our privacy policy.