Deploy Dreeve
Private dashboard for FIT, GPX and TCX rides and runs. Strava alternative.
Just deployed
/var/www/storage
Deploy and Host Dreeve on Railway

Deploy Dreeve on Railway and get a private dashboard for every ride, run, hike and swim you have ever recorded. Dreeve, formerly known as Statistics for Strava, has 2,200+ GitHub stars and is open source under AGPL-3.0. Strava's subscription costs $11.99/month in the US; self-hosting Dreeve costs a few dollars a month, and the database and activity files stay on a volume you own.
What This Template Deploys
| Service | Purpose |
|---|---|
| dreeve | The Dreeve web app and its import daemon in one container (ghcr.io/onepush-dev/dreeve:v5.9.1), served over HTTPS on port 8080 with the admin panel at /admin |
| Persistent Volume | Mounted at /var/www/storage: the SQLite database, uploaded activity files, the import watch folder and nightly backups all survive redeploys |
This is a single-service stack with no external database. Upstream Dreeve normally runs a web container and a separate daemon container that share a data folder; this image runs both processes side by side in one Railway service, so one volume holds everything and one backup covers your whole training history.
About Hosting Dreeve
Self-hosting a fitness dashboard usually means a VPS, Docker Compose, a reverse proxy, a TLS certificate, a cron job for backups and a plan for when the server reboots. Most athletes who want their own stats give up somewhere between the firewall rules and the certificate renewal.
Railway removes that work. The template provisions the service, attaches the volume, issues an HTTPS domain, generates the admin password and the session signing secret, and restarts the container if it ever stops. A health check on /admin/login confirms the app is ready before traffic reaches it.
Strava sync is not set up out of the box. This template starts Dreeve in file-import mode (IMPORT_MODE=files), so it needs no Strava API key and works on day one with FIT, GPX and TCX exports from Garmin, Wahoo, Coros, Polar, Apple Health or any bike computer. Connecting a live Strava account or a device connector is an extra step from the Dreeve documentation. The image is community packaging of the upstream v5.9.1 release, not an image published by the Dreeve project.
Typical cost: about $5/month on Railway's Hobby plan for one small service and a few GB of storage. Strava's individual plan is $79.99/year in the US and keeps your history on Strava's servers.
Deploy in Under 5 Minutes
- Click Deploy on Railway. The image pulls and the volume attaches in about two minutes.
- Open the generated Railway domain and go to
/admin. - Sign in as
adminwith theADMIN_PASSWORDvalue from the service's Variables tab. It is generated for you and hashed at boot. - Fill in Settings, Athlete (birthday, weight, FTP and heart-rate zones). Until you do, the home page redirects to
/admin/settings/athlete, which is expected. - Upload your FIT, GPX or TCX files from the admin panel and let the daemon build your dashboard, heatmap and records.
No SSH. No Docker Compose file. No certificate to renew.
Common Use Cases
- Strava Premium alternative for people who want yearly stats, heatmaps and best efforts without a monthly subscription
- Garmin Connect export dashboard: drop years of FIT files from a Garmin watch into one searchable history
- Gear and shoe mileage tracking: see how far each bike, chain or pair of running shoes has gone and when maintenance is due
- Eddington number and milestones: track your Eddington score, yearly Rewind and lifetime milestones on a page you control
- Training review with AI: point Dreeve's AI workout assistant or its MCP server at your own data, including a local Ollama model
- Family or club archive: keep one private archive of shared rides, races and trips grouped into activity collections
- Migrating off an old fitness app: import a Strava bulk export or years of GPX files from a retired app so old and new activities share one timeline
Configuration
| Variable | Required | Description |
|---|---|---|
ADMIN_PASSWORD | 🔐 Auto-generated | Password for the admin user; bcrypt-hashed into the app at boot |
APP_SECRET | 🔐 Auto-generated | Signs the admin session cookie; keep it stable or you will be logged out |
APP_URL | ✅ Auto-injected | The public HTTPS address, taken from the Railway domain |
IMPORT_MODE | Baked in | Set to files in the image, so no Strava key is needed |
TZ | Baked in | UTC by default |
Adding a custom domain? Update APP_URL to the new address at the same time. Dreeve expects APP_URL to be the root of a domain (no sub-path), and a stale value breaks redirects, badges and the login flow. Keep the service at one replica, because the SQLite database and files live on a single volume.
Dreeve vs. Alternatives
| Dreeve (Railway) | Strava subscription | intervals.icu | FitTrackee | |
|---|---|---|---|---|
| Monthly cost | ~$5 (Railway usage) | $11.99 (US) | Free, Supporter $4 | Free, you host it |
| Self-hosted | ✅ Yes | ❌ No | ❌ No | ✅ Yes |
| Your data on your volume | ✅ Yes | ❌ No | ❌ No | ✅ Yes |
| FIT, GPX and TCX import | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
| Gear and maintenance tracking | ✅ Yes | ⚠️ Gear mileage | ✅ Yes | ⚠️ Equipment |
| Works without a cloud account | ✅ Yes | ❌ No | ❌ No | ✅ Yes |
| AI assistant and MCP server | ✅ Yes | ⚠️ Paid AI features | ❌ No | ❌ No |
| License | ✅ AGPL-3.0 | ❌ Proprietary | ❌ Proprietary | ✅ AGPL-3.0 |
Dependencies for Dreeve Hosting
- Railway account: the Hobby plan covers one small service and its volume; large first imports use the most CPU
- Activity files exported from your watch, bike computer or Strava bulk export
- A modern browser; Dreeve also installs as a PWA on your phone
Deployment Dependencies
- Dreeve on GitHub: source, releases and changelog
- Dreeve Documentation: import modes, Strava setup and device connectors
- Railway Volumes Documentation: how the storage volume persists
- Railway Public Networking: domains and custom domains
Implementation Details
The service runs ghcr.io/onepush-dev/dreeve:v5.9.1, which wraps the unmodified upstream Dreeve v5.9.1 image with a start script for Railway. The script runs the Dreeve daemon next to the FrankenPHP web server in one container, links the watch and backup folders onto /var/www/storage, and hashes ADMIN_PASSWORD at boot. The health check uses /admin/login because / returns a 302 redirect until the athlete profile exists.
The setting to get right is APP_URL: it must match the domain you browse to. To move to a newer Dreeve release later, change the image tag in the service settings and redeploy; the volume keeps your database. Back up /var/www/storage before major upgrades.
Sign-in can also go through your own OIDC provider, such as Authentik, Authelia or Pocket ID, once you add the settings described in the Dreeve documentation. Public badges and the PWA use the same APP_URL, so set the final domain before you share any badge links.
Frequently Asked Questions
What is Dreeve and why self-host it instead of using Strava? Dreeve is an open-source dashboard for sports and fitness data, previously called Statistics for Strava. Self-hosting means your full activity history, photos and gear records live on storage you control, with no subscription and no feature paywall.
How much does it cost to run Dreeve on Railway compared with Strava? Expect about $5/month on Railway for this single service. Strava's US individual plan is $11.99/month or $79.99/year, so self-hosting saves money while keeping every chart Dreeve offers.
Why does my Dreeve home page keep redirecting to the athlete settings?
That is normal on a fresh install. Dreeve sends / to /admin/settings/athlete until the athlete profile is saved. Sign in at /admin as admin, complete the profile, and the dashboard loads.
Do I lose my activities when Railway redeploys the service?
No. The SQLite database, uploaded files and backups are on the volume at /var/www/storage, which persists across redeploys and image upgrades.
Can Dreeve sync from Strava or Garmin automatically? Dreeve supports Strava and device connectors for Garmin, Polar, Wahoo, Coros and others, but this template starts in file-import mode. Follow the Dreeve documentation to add a Strava API app or a connector after the first deploy.
Can I run more than one replica for high availability? No. Dreeve keeps its state in SQLite on one volume, so keep a single replica. For safety, rely on the built-in nightly backups and download a copy of the volume now and then.
Why Deploy and Host Dreeve 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 Dreeve on Railway, you get a private fitness dashboard with heatmaps, gear tracking and yearly stats for about $5 a month, with every activity file stored on a volume you own.
Template Content
