Self-hosted travel logbook: flights, cruises, stays, rail, bus, ferries. No cloud, no telemetry.
10K+
Self-hosted travel logbook for small households and groups (1–10 users). Flights, cruises, stays, rail, bus, ferries, rentals and places in one timeline — on your own server, with no cloud account and no telemetry.
Documentation: https://travstats.de/docs/ · Source and issues: https://github.com/Abrechen2/TravStats
TravStats is a logbook first. You record trips by hand, scan a boarding pass, import a confirmation e-mail or let the Companion app record them — and TravStats turns them into history, statistics and maps. Everything you record lives in your own PostgreSQL. It does not follow aircraft or people, nobody sees where you are unless you create a share link yourself, and every outside service (flight data, geocoding, AI parsing, photos) is optional and switched on by you.
.eml, .msg), PDFs, spreadsheets, a mailbox folder or a forwarding address. Optional local LLM parsing through Ollama..travstats trip files.A phone app that records trips and flights, scans documents and reads your logbook offline. It uploads to your own server, which stays the record. The web UI is drawn for tablets and is the main interface. See https://travstats.de/docs/user-guide/companion-app/.
The only thing you set in a file is a database password; the setup wizard in the browser captures everything else.
# 1. Grab the compose file
curl -O https://raw.githubusercontent.com/Abrechen2/TravStats/main/docker-compose.prod.yml
# 2. Set one variable
echo "DB_PASSWORD=$(openssl rand -base64 32)" > .env
# 3. Start
docker compose -f docker-compose.prod.yml up -d
# 4. Open the setup wizard
open http://localhost:3000/setup
The container seeds the airport database on first boot (about 30 s) and generates its own JWT secret. To use an existing Postgres server, set DATABASE_URL and drop the db service from the compose file. Unraid users: Community Apps templates are in https://github.com/Abrechen2/docker-templates.
Update with docker compose -f docker-compose.prod.yml pull && docker compose -f docker-compose.prod.yml up -d. Starting a version you have not run on your data before takes a database snapshot first, into /app/data/backups/.
Docker Hub and GHCR (ghcr.io/abrechen2/travstats) carry the same digests for these tags.
| Tag | Points to | Use for |
|---|---|---|
:latest, :stable | Newest promoted stable release | Normal production; follows the next promoted release. |
:X.Y.Z | Pinned immutable release | Reproducible installs. |
:rc-latest | Newest release candidate | Testers. May include breaking schema changes; a backup is taken automatically on the first start of any new version. |
Specific RC and beta tags live on GHCR only. Which version the moving tags currently resolve to is on the releases page.
Never let a cache rule apply to /api/: every API response belongs to one signed-in user. In Nginx Proxy Manager leave "Cache Assets" off, and in Cloudflare exclude /api/* from cache rules.
A project by <abrechen2 /> · Ein Projekt von <abrechen2 />
Content type
Image
Digest
sha256:3f40636c9…
Size
606 MB
Last updated
30 days ago
docker pull abrechen2/travstats