Deploy osTicket

Open-source helpdesk: osTicket 1.18 with MySQL, unattended install

Deploy osTicket

MySQL

mysql:8

Just deployed

/var/lib/mysql

Deploy and Host osTicket on Railway

osTicket is a widely used open-source support ticket system. It turns emails and web-form requests into tickets, routes them to departments and agents, tracks SLAs and due dates, and gives customers a portal to open and follow their requests. It also includes canned replies, help topics with custom forms, and a knowledge base.

About Hosting osTicket

osTicket is a PHP application that needs a web server, PHP with the right extensions, and a MySQL database. A normal install also means running the web installer, deleting the setup folder afterwards, keeping a config file with the database password and secret salt, and adding a cron job for mail fetching and overdue tickets. This template does all of that for you. The osTicket container installs itself on first boot with no public installer, writes its config from service variables, applies database upgrades after an image update, and runs osTicket's cron every five minutes. All data lives in Railway's MySQL with a persistent volume.

Common Use Cases

  • Customer support helpdesk with email piping and a self-service customer portal
  • Internal IT or HR request desk with departments, help topics and SLAs
  • Shared support inbox for a small team that has outgrown a plain mailbox

Dependencies for osTicket Hosting

  • MySQL (Railway's MySQL service, included)
  • osTicket v1.18.4 on PHP 8.4 with Apache (built from the template's GitHub repository)

Deployment Dependencies

Implementation Details

The only prompt is ADMIN_EMAIL. After the deploy, open the osTicket service's Variables tab to find ADMIN_USERNAME (ostadmin) and the generated ADMIN_PASSWORD. Sign in to the staff panel at https://YOUR-DOMAIN/scp/ and change the password. Customers use https://YOUR-DOMAIN/.

To receive and send email, add your SMTP and IMAP/POP mailboxes under Admin Panel → Emails. Never change OSTICKET_SECRET_SALT after the first boot: osTicket uses it to encrypt stored mailbox passwords. Template updates arrive as Railway update notices, and the repository's CHANGELOG lists what changed.

Why Deploy osTicket 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 osTicket 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

MySQL

mysql:8

More templates in this category

View Template
Rocky Linux
Hosted Rocky Linux 9 workspace with SSH and persistent storage. 🚀

codestorm
51
View Template
Foundry Virtual Tabletop
Self-hosted virtual tabletop for role-playing games (license required)

Lucas
71
View Template
Letta Code Remote
Run a Letta Code agent 24/7. No inbound ports, just deploy.

Letta
52