---
title: "Deploy Titra Time Tracking"
description: "Time tracker for freelancers and teams: projects, timesheets, reports"
category: "Other"
url: https://railway.com/deploy/time-tracking
---

# Deploy Titra Time Tracking

Time tracker for freelancers and teams: projects, timesheets, reports

**[Deploy Titra Time Tracking on Railway](https://railway.com/template/time-tracking)**

Machine-readable deploy manifest (JSON, validated by TemplateCI): https://railway.com/deploy/time-tracking/manifest.json

- **Creator:** Two Workspaces
- **Category:** Other

## Template content

### MongoDB https://devicons.railway.app/i/mongodb.svg

- **Image:** mongo:8.0.38
- **Start command:** `docker-entrypoint.sh mongod --bind_ip_all --ipv6 --wiredTigerCacheSizeGB 0.25`

### Titra https://raw.githubusercontent.com/two-workspaces/titra/main/icon.png

- **Source:** https://github.com/two-workspaces/titra
- **Health check:** /
- **Public domain:** Yes

## Documentation

# Deploy and Host Titra Time Tracking on Railway

[![Deploy on Railway](https://railway.com/button.svg)](https://railway.com/new/template/time-tracking?referralCode=sLjDXb&utm_medium=integration&utm_source=button&utm_campaign=titra)

[Titra](https://github.com/kromitgmbh/titra) is open-source time tracking for freelancers and small teams. You track time against projects and tasks with a timer or by hand, see it per day, week or month, share projects with your team, and export timesheets and reports for invoicing (CSV, Excel, or straight into tools like Zammad, Wekan and GitLab). It is a self-hosted alternative to Toggl, Harvest and Clockify. This template runs Titra 1.2.1 on Railway with MongoDB, with the administrator ready on the first boot.

This is a community template, not made or supported by the Titra authors.

## About Hosting Titra Time Tracking

Before deploying, set `ADMIN_EMAIL` to your email. Deploy, wait for the green check, open the Railway domain and sign in with that email and the password in the Titra service's `ADMIN_PASSWORD` variable (generated for you). Change the password under your profile afterwards.

**Why the administrator is created for you:** a fresh Titra server lets anyone register, and the first account becomes the administrator. On a public address that could be a stranger, so on the first boot this template creates your administrator account while Titra listens on localhost only, before the public port opens.

**Who can sign up:** self sign-up is closed on the server, not just hidden: add your team under **Administration > Users**. Set `ALLOW_SIGNUP=true` if you want anyone with the address to create an account. Anonymous logins stay off unless you switch them on under Administration > Settings.

**Your data:** projects, tasks, time entries and users are all in the MongoDB service, on its volume. Redeploys and upgrades keep them.

**Custom domain:** add it under the Titra service's Settings > Networking, then set `ROOT_URL=https://time.example.com` and redeploy.

**Email (optional):** password resets and notifications need SMTP in `MAIL_URL`, for example `smtps://user:password@smtp.example.com:465`. Railway allows outbound SMTP on the Pro plan only. Without it, an administrator can still set anyone's password under Administration > Users.

## Common Use Cases

- A freelancer tracking billable hours per client and exporting timesheets for invoices
- A small agency or dev team logging time on shared projects and comparing estimates with actual time
- Tracking time on GitLab, Wekan or Zammad tickets and syncing it back
- Reporting hours per person, project and customer at the end of a month
- Replacing a paid Toggl, Harvest or Clockify plan with a self-hosted tracker your team owns

## Dependencies for Titra Time Tracking Hosting

- MongoDB (included)
- For email: SMTP on Railway's Pro plan (optional)

### Deployment Dependencies

- [Titra on GitHub](https://github.com/titraio/titra)
- [Titra documentation](https://wiki.titra.io)
- [Template source](https://github.com/two-workspaces/titra)

### Implementation Details

- **Services:** Titra and MongoDB 8.0 on Railway's private network.
- **Secrets:** the administrator password and the MongoDB root password are generated per deploy.
- **Sign-up closed for real:** upstream Titra only hides its registration form, and accepts anonymous logins over its API even with them switched off. This template refuses account creation from browsers on the server (Meteor's `forbidClientAccountCreation`) unless `ALLOW_SIGNUP=true`, and makes the server check the anonymous-login setting too.
- **Never crash-looping on a variable:** if `ADMIN_EMAIL` isn't an email address, `ADMIN_PASSWORD` is shorter than 12 characters, `ROOT_URL` doesn't start with https://, or MongoDB can't be reached, the service shows a page saying what to fix instead of restarting over and over, and the deploy logs say the same.
- **Image:** upstream's official `titraio/titra:v1.2.1`, pinned, plus a small entrypoint and a one-line patch to the anonymous login check.
- **Memory:** in testing with seven projects and 450 time entries, Titra used about 110–160 MB and MongoDB about 250 MB (its cache is capped at 256 MB), so both fit the smallest plans (tested with a 0.5 GB limit on each, first boot included).

## Why Deploy Titra Time Tracking on Railway?

Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.

By deploying Titra Time Tracking on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.


## 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) — Self-hosted virtual tabletop for role-playing games (license required)
- [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/time-tracking
