Deploy Titra Time Tracking
Time tracker for freelancers and teams: projects, timesheets, reports
MongoDB
Just deployed
Titra
Just deployed
Deploy and Host Titra Time Tracking on Railway
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
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) unlessALLOW_SIGNUP=true, and makes the server check the anonymous-login setting too. - Never crash-looping on a variable: if
ADMIN_EMAILisn't an email address,ADMIN_PASSWORDis shorter than 12 characters,ROOT_URLdoesn'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.
Template Content
MongoDB
mongo:8.0.38Titra
two-workspaces/titra