Railway

Deploy Home Assistant

Deploy Home Assistant on Railway with the official container image.

Deploy Home Assistant

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
Foundry Virtual Tabletop
A Self-Hosted & Modern Roleplaying Platform

Lucas
View Template
(v1) Simple Medusa Backend
Deploy an ecommerce backend and admin using Medusa

Shahed Nasser
View Template
peppermint
Docker-compose port for peppermint.sh

HamiltonAI