Deploy Dawarich Location Timeline
Dawarich location history with Sidekiq jobs, PostGIS and Redis
Dawarich
Dawarich App
Just deployed
/var/app/storage
Dawarich
Just deployed
Data
Dawarich Redis
Just deployed
/data
Dawarich PostGIS
Just deployed
/var/lib/postgresql/data
Deploy and Host Dawarich Location Timeline on Railway
Dawarich is a self-hosted alternative to Google Timeline. It records where you go from the Dawarich, OwnTracks, Overland or GPSLogger apps, imports Google Takeout and GPX, GeoJSON, KML, FIT and TCX files, and turns your location history into a map with trips, visits, yearly and monthly statistics, and links you can share.
About Hosting Dawarich Location Timeline
The template runs Dawarich 1.23.0 from the official image, unmodified and pinned by digest, behind a small Caddy router that is the only public service, with PostGIS 17 and Redis 8 on Railway's private network. Background jobs run on Sidekiq inside the Dawarich web process, upstream's own default: they parse imports into points, compute statistics, detect trips and visits, and prepare exports. Uploaded files stay on a Railway volume, points and settings live in PostGIS, and Redis keeps the job queue on its own volume. Set DAWARICH_OWNER_EMAIL before you deploy: the first administrator account is created with that email and a generated password, which you copy from the Dawarich App service's variables. Upstream's default administrator (demo@dawarich.app with a published password) is never created, and sign-up is closed.
Why Deploy Dawarich Location Timeline on Railway
Railway provides the HTTPS domain your phone apps report to, private networking between Dawarich, PostGIS and Redis, persistent volumes, generated secrets and health-checked deploys. The health check waits until the database and Redis answer, migrations run on every deploy before the app listens, the router passes each visitor's own address to Dawarich, so the per-visitor sign-in limits work, and it refuses file uploads from anyone who is not signed in.
Common Use Cases
- Replace Google Timeline with a location history you own, fed by your phone's tracking app
- Import years of Google Takeout, Strava or GPS-logger exports and explore them on one map with trips and statistics
- Share a trip or a live location with family through a link, without a third-party service
Dependencies for Dawarich Location Timeline Hosting
The deployment uses Dawarich (dawarich.app, documentation), PostGIS, Redis and Caddy.
Deployment Dependencies
- Dawarich 1.23.0 (Rails, with Sidekiq embedded), from
freikin/dawarich - A Caddy 2 router, the only public service
- PostGIS 17 with a 5 GB volume
- Redis 8 with a 5 GB volume
- Optional: a tracking app on your phone (Dawarich, OwnTracks, Overland), a reverse-geocoding service such as Photon for place names, and an SMTP provider for password resets and invitations
Template Content
Dawarich Redis
redis:8.10.3-alpineDawarich App
freikin/dawarich:1.23.0DAWARICH_OWNER_EMAIL
Email of the first (admin) account, created on the first deploy. Required.
Dawarich
caddy:2.11.9-alpineDawarich PostGIS
postgis/postgis:17-3.5-alpine