Deploy Home Assistant

Deploy Home Assistant on Railway with the official container image.

Deploy Home Assistant

Just deployed

Home Assistant

Template Header

Deploy Home Assistant on Railway using the official container image with Railway-ready proxy handling.

Deploy on Railway

Files in this template

  • Dockerfile uses ghcr.io/home-assistant/home-assistant:stable.
  • docker-entrypoint.sh configures trusted reverse proxies and forwards Railway's dynamic $PORT to Home Assistant's internal 8123.
  • railway.toml defines start command, health check path, and restart policy.

Environment variables

TZ=Europe/Berlin

Railway provides PORT automatically at runtime.

Domain and health check

  • Public domain is routed to service target port 8123.
  • Health check uses /manifest.json.
  • First startup can take several minutes while Home Assistant initializes.

Persistent storage

Attach a Railway volume and mount to:

  • /config

Notes

  • Home Assistant expects reverse-proxy headers when deployed behind Railway edge.
  • Local network auto-discovery integrations are limited in cloud environments.
  • Keep /config on a persistent volume before adding integrations.

Airbyte Apache Airflow CodiMD Email Service GitLab CE Grafana Home Assistant InfluxDB Mosquitto MQTT Node-RED OpenSearch TYPO3 CMS


Template Content

More templates in this category

View Template
Rocky Linux
Hosted Rocky Linux 9 workspace with SSH and persistent storage. 🚀

codestorm
51
View Template
Foundry Virtual Tabletop
Self-hosted virtual tabletop for role-playing games (license required)

Lucas
71
View Template
NEW
Double Commander in your browser
The Double Commander file manager in the cloud, from any device

Nermin Sabanovic
0