Self-Hosting
Lyftr runs anywhere Docker does. No clone, no build, no Go install — just Docker.
Quick start
Section titled “Quick start”Download the compose file and an env template:
curl -o docker-compose.yml https://raw.githubusercontent.com/Cawlumm/lyftr/main/docker-compose.ymlcurl -o .env https://raw.githubusercontent.com/Cawlumm/lyftr/main/.env.exampleEdit .env and set JWT_SECRET to a long random string (32+ characters; openssl rand -hex 32
makes one), then pull the prebuilt images and start:
docker compose pulldocker compose up -dOpen http://localhost in your browser and create your account. On a VPS, replace localhost
with your server’s IP or domain.
What you are running
Section titled “What you are running”The compose file starts two containers:
| Service | Image | What it does |
|---|---|---|
backend | cwlumm/lyftr-backend | The Go API. Keeps everything in ./data/lyftr.db, a single SQLite file. Reachable only on the Docker network. |
frontend | cwlumm/lyftr-frontend | nginx serving the Lyftr web app and proxying /api to the backend. The only published port (PORT, default 80). |
The web app is the same app as the Android one, exported for the browser: a sidebar layout on a
desktop, a tab bar on a phone. Everything you log is in ./data next to your compose file — see
Backups & Updates.
Where it runs
Section titled “Where it runs”The images are published for amd64, arm64 and armv7, so it runs on:
- Raspberry Pi 4 (2 GB RAM, arm64 image)
- A VPS — Hetzner (the Arm CAX line included), DigitalOcean Droplet, Oracle Free Tier
- Synology NAS via Docker (Container Manager)
- Proxmox LXC with Docker installed
- Local machine — Mac, Linux, Windows (WSL2)
Single SQLite file, minimal RAM, no external database.
Next steps
Section titled “Next steps”- Configuration — environment variables (
JWT_SECRET,CORS_ORIGIN, ports,REGISTRATION). - HTTPS & Reverse Proxy — expose it publicly with automatic TLS (and to use the mobile app).
- Backups & Updates — protect your data and upgrade safely.
- Mobile App — install the Android app and point it at your server.
- Troubleshooting — fixes for
502, ports, and connectivity.