Deploy talivia
Revenue-first analytics with session replay and attribution
postgres
Just deployed
/var/lib/postgresql/data
Just deployed
Deploy and Host Talivia on Railway
About Hosting Talivia on Railway
Talivia runs as a Dockerized Next.js web application on Railway with a private, persistent PostgreSQL database and automatic HTTPS.
Tech Stack
- Next.js 16 and React
- Node.js 22
- Prisma ORM
- PostgreSQL 17
- Docker
Why Deploy Talivia on Railway
Railway provides one-click container deployment, private service networking, managed persistent volumes, automatic HTTPS, health checks, and simple secret generation.
Common Use Cases
Use Talivia for privacy-friendly web analytics, session replay, revenue attribution, shared dashboards, and payment revenue tracking across Stripe, LemonSqueezy, Polar, Dodo, Yolfi, or manual payments.
Deployment Notes
The app listens on port 3000 and exposes /api/heartbeat for health checks. PostgreSQL is private and stores data in /var/lib/postgresql/data; PGDATA points to a clean subdirectory required for Railway volumes. The app applies Prisma migrations automatically. Sign in initially with username admin and password admin, then change that bootstrap password immediately in Settings > Account. APP_SECRET and the database password are generated automatically. COINGECKO_API_KEY is optional and may remain empty.
Dependencies for Talivia on Railway
Talivia requires PostgreSQL over Railway private networking. No public database domain is created.
Deployment Dependencies
| Service | Image | Port | Volume |
|---|---|---|---|
| app | xiaosong233/talivia-railway:latest | 3000 | - |
| postgres | postgres:17.6-alpine | 5432 | /var/lib/postgresql/data |
Template Content
