---
title: "Deploy trek"
description: "travel planner with live collaboration, maps, and budgets"
category: "Other"
url: https://railway.com/deploy/trek
---

# Deploy trek

travel planner with live collaboration, maps, and budgets

**[Deploy trek on Railway](https://railway.com/template/trek)**

- **Creator:** kmaki's Projects
- **Category:** Other
- **Total deploys:** 21

## Template content

### trek

- **Image:** mauriceboe/trek:2.7.0
- **Public domain:** Yes

## Documentation

# Deploy and Host TREK on Railway

## About Hosting TREK on Railway
TREK is a self-hosted collaborative travel planner. Railway runs the official Docker image with managed networking and simple environment configuration, so you can launch quickly without managing servers.

## Tech Stack
- Node.js 22 + Express backend
- React + Vite frontend (served by the same container)
- SQLite database
- WebSocket real-time collaboration

## Why Deploy TREK on Railway
- Fast Docker-based deployment from the official image
- Automatic TLS and public domain provisioning
- Easy environment variable management
- Simple redeploy workflow for updates

## Common Use Cases
- Family trip planning with shared itineraries
- Group travel collaboration with live updates
- Personal itinerary, budget, and packing management
- Lightweight self-hosted PWA travel organizer

## Deployment Notes
- TREK listens on container port `3000`; set `PORT=3000`.
- Keep `startCommand` unset to use the upstream image entrypoint.
- This deployment uses `mauriceboe/trek:2.7.0`.
- `JWT_SECRET` should be generated as a strong random value.
- WebSocket upgrades on `/ws` are required for real-time sync.
- Live deployment URL: `https://trek-production-2c20.up.railway.app`.

## Dependencies for TREK on Railway
This deployment requires only one HTTP application service.

### Deployment Dependencies

| Service | Image | Port | Volume |
|---------|-------|------|--------|
| trek | mauriceboe/trek:2.7.0 | 3000 | - |

## Similar templates

- [Rocky Linux](https://railway.com/deploy/rocky-linux) — Hosted Rocky Linux 9 workspace with SSH and persistent storage. 🚀
- [Foundry Virtual Tabletop](https://railway.com/deploy/X5tR6G) — A Self-Hosted & Modern Roleplaying Platform
- [Letta Code Remote](https://railway.com/deploy/letta-code-remote) — Run a Letta Code agent 24/7. No inbound ports, just deploy.

Open this page in a browser: https://railway.com/deploy/trek
