Workout Tracker
★ 1.3kA self-hosted alternative to Strava
About
Community Ratings
No ratings yetNew this week
Read recap →Features
- workout file upload
- API imports
- daily stats tracking
- manual workout records
- route segments
- equipment tracking
- statistics dashboard
- heatmap view
- multi-language support
- light and dark mode
Details
- Last Updated
- Nov 14, 2026
- Created
- Feb 16, 2024
- Install Methods
- dockerdocker-composebinary
- Requirements
- SQLitePostgreSQL
- Default Port
- 8080web UI and API
- Authentication
- local
- API
- REST
- Backup & Export
- file-backupdatabase-dump
- Privacy & Independence
- Cloud: OptionalOffline Capable
- User Model
- Multi-User
- Theming
- Dark modeFollows system theme
- Deployment
Deployment: Docker Compose ✓10 Containers — heavy hosting footprintRuns as 10 containers
Run Workout Tracker yourself
Pick how much you want to manage.
netcupBest match
Full control
A small server, then Docker Compose.
About 20 minutes with Docker
Hetzner
Full control
A small server, then Docker Compose.
About 20 minutes with Docker
DigitalOcean
Full control
A small server, then Docker Compose.
About 20 minutes with Docker
2 more ways to host
Some links earn us a commission. netcup pays us one and is our preferred VPS host.
Is this your project? Sponsor a listing
Run Workout Tracker with Docker Compose
Compose file from the Workout Tracker project repository.
10 services · database: postgres · infra: postgres
no resource limits declared
needs persistent storage (14 volumes)
docker/docker-compose.yaml · @ 0913f9c · scanned Nov 3, 2026
services:
workout-tracker:
profiles:
- do-not-use-directly
container_name: wt-app
image: ghcr.io/jovandeginste/workout-tracker:master
restart: unless-stopped
ports:
- 8080:8080
networks:
- workout-tracker
environment:
WT_JWT_ENCRYPTION_KEY_FILE: /run/secrets/jwt_encryption_key
secrets:
- jwt_encryption_key
healthcheck:
test: ["CMD", "curl", "-sSLf", "http://localhost:8080/health"]
interval: 10s
timeout: 5s
retries: 5
start_period: 5s
db-postgres:
profiles:
- do-not-use-directly
image: postgres:16-alpine
container_name: db
restart: unless-stopped
shm_size: 128mb
networks:
- workout-tracker
healthcheck:
test: ["CMD-SHELL", "pg_isready -d $${POSTGRES_DB} -U $${POSTGRES_USER}"]
interval: 5s
timeout: 5s
retries: 5
env_file: ./postgres.env
dev-workout-tracker-postgres:
profiles:
- dev-postgres
extends: dev-workout-tracker
env_file: ./postgres.env
depends_on:
dev-db-postgres:
condition: service_healthy
dev-db-postgres:
profiles:
- dev-postgres
extends: db-postgres
volumes:
- db-data:/var/lib/postgresql/data/
dev-workout-tracker-sqlite:
profiles:
- dev-sqlite
extends: dev-workout-tracker
volumes:
- ../data/:/data/
environment:
WT_DATABASE_DRIVER: sqlite
WT_DSN: /data/database.db
workout-tracker-assets:
profiles:
- dev-sqlite
- dev-postgres
build:
context: ..
dockerfile: docker/Dockerfile.dev
target: builder-frontend
volumes:
- asset-volume:/app/assets
- ../views:/app/views
- ../frontend/src:/app/frontend/src
tty: true
dev-workout-tracker:
profiles:
- do-not-use-directly
extends: workout-tracker
build:
context: ..
dockerfile: docker/Dockerfile.dev
target: builder-backend
container_name: wt-app-dev
ports:
- 8090:8090
volumes:
- asset-volume:/app/assets
- cache-volume:/root/.cache
- ../cmd:/app/cmd
- ../pkg:/app/pkg
- ../vendor:/app/vendor
- ../views:/app/views
- ../translations:/app/translations
environment:
APP_ENV: development
WT_WORKER_DELAY_SECONDS: 5
app-workout-tracker-postgres:
profiles:
- app-postgres
extends: workout-tracker
env_file: ./postgres.env
depends_on:
app-db-postgres:
condition: service_healthy
app-db-postgres:
profiles:
- app-postgres
extends: db-postgres
volumes:
- ../data/:/var/lib/postgresql/data/
app-workout-tracker-sqlite:
profiles:
- app-sqlite
extends: workout-tracker
volumes:
# Mount local directory for sqlite database
- ../data/:/data/
secrets:
jwt_encryption_key:
file: ./jwt_encryption_key.txt
volumes:
asset-volume:
cache-volume:
db-data:
networks:
workout-tracker:
external: false
This file may be out of date. Check the Workout Tracker documentation for current setup steps.
Track your self-hosted stack
Bookmark software to try, rate tools you've used, and keep your collection in one place.