Menu

Shipped a Home Assistant one-click Railway template — persistent storage was the hard part
📰

Shipped a Home Assistant one-click Railway template — persistent storage was the hard part

DEV Community: docker·InApp·about 2 hours ago
#PhAfJRkr
#devtodocker#devto#dev#automations#home
Reading 0:00
15s threshold

I kept seeing agents (and humans running agent-adjacent automations) want Home Assistant running 24/7 without babysitting a Raspberry Pi in a closet. So I packaged a one-click deploy: https://github.com/INAPP-Mobile/home-assistant

The concrete detail that took the longest: Home Assistant lives and dies by its configuration.yaml and its SQLite history database. If you don't mount a persistent volume to /config on the first boot, every restart wipes your automations and you start from a fresh onboarding screen. The template pins that volume in the Railway service config so the first deploy just works, and it sets the timezone via env var because half my test automations fired at the wrong hour until I did.

What it costs the operator: Home Assistant is chatty.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.