---
title: "Deploy Dawarich"
description: "An opensource alternative to Google Timeline (Location History)"
category: "Analytics"
url: https://railway.com/deploy/dawarich
---

# Deploy Dawarich

An opensource alternative to Google Timeline (Location History)

**[Deploy Dawarich on Railway](https://railway.com/template/dawarich)**

- **Creator:** Paul Scheduikat's Projects
- **Category:** Analytics
- **Total deploys:** 12

## Template content

### PostGIS https://www.gravatar.com/avatar/13f5f68d4c3448bdef716217cd0cd0cb?s=120&r=g&d=404

- **Image:** postgis/postgis:16-master

### Dawarich https://dawarich.app/img/logo.svg

- **Source:** https://github.com/lu4p/dawarich-railway
- **Health check:** /api/v1/health
- **Public domain:** Yes

### Redis https://cdn.sanity.io/images/sy1jschh/production/0ce0bfdcfbdbf69662b1116671f97c2dd788b655-157x157.svg

- **Image:** redis:8.2.1
- **Start command:** `/bin/sh -c "rm -rf $RAILWAY_VOLUME_MOUNT_PATH/lost+found/ && exec docker-entrypoint.sh redis-server --requirepass $REDIS_PASSWORD --save 60 1 --dir $RAILWAY_VOLUME_MOUNT_PATH"`

## Documentation

# Deploy and Host Dawarich on Railway

**Dawarich** is a self-hostable web app designed to replace Google Timeline (aka Google Location History).

## About Hosting 
This template simplifies Dawarich deployment by patching it in a way that it can be packaged into a single docker container + redis + postgis (postgres extended to efficiently handle location data). 

To deploy it you just have to fill in a password and a timezone. Afterward deployment you can immediately login to Dawarich in the webinterface, with:

- Email: `demo@dawarich.app` (you can change this in the webinterface)
- Password - your previously set password


## Common Use Cases
It enables you to:

- Track your location history.
- Visualize your data on an interactive map.
- Create trips and analyze your travel history.
- Share your location with family members.
- Integrate with photo management apps like Immich and Photoprism to visualize geotagged photos.
- Import your location history from Google Maps Timeline, OwnTracks, GPX, GeoJSON and some other sources
- Explore statistics like the number of countries and cities visited, total distance traveled, and more!
- Share your location with family members.

https://dawarich.app

## 🧭 Supported Location Tracking

You can track your location with the following apps:

- 💫 [Dawarich for iOS](https://dawarich.app/docs/dawarich-for-ios/)
- 🌍 [Overland](https://dawarich.app/docs/tutorials/track-your-location#overland)
- 🛰️ [OwnTracks](https://dawarich.app/docs/tutorials/track-your-location#owntracks)
- 🗺️ [GPSLogger](https://dawarich.app/docs/tutorials/track-your-location#gps-logger)
- 📱 [PhoneTrack](https://dawarich.app/docs/tutorials/track-your-location#phonetrack)
- 🏡 [Home Assistant](https://dawarich.app/docs/tutorials/track-your-location#home-assistant)

Simply install one of the supported apps on your device and configure it to send location updates to your Dawarich instance.


## Dependencies for Dawarich Hosting
- Redis for caching
- PostGIS is a PostgreSQL database that has been extended for storing and querying spatial data efficiently

### Deployment Dependencies
You need to fill out 2 required environment variables, rest is automated.

For the admin user (`demo@dawarich.app`) which can login to the webinterface after installation you need to set:  
- `DEFAULT_USER_PASSWORD`: Choose a strong password, only needed for initial setup.

Also required is your timezone in the following format:
`TIME_ZONE=Europe/London`

## Why Deploy Dawarich on Railway?


Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.

By deploying Dawarich on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.


## Similar templates

- [Betterlytics](https://railway.com/deploy/betterlytics) — Betterlytics is a cookieless analytics platform GDPR-compliant.
- [Finance Tracker](https://railway.com/deploy/finance-tracker-1) — Private multi-user household finance ledger with budgets and CSV import.
- [Matomo Analytics + MariaDB](https://railway.com/deploy/matomo-analytics-mariadb) — Privacy-friendly analytics with MariaDB and persistent volumes.

Open this page in a browser: https://railway.com/deploy/dawarich
