---
title: "Deploy osTicket"
description: "Open-source helpdesk: osTicket 1.18 with MySQL, unattended install"
category: "Other"
url: https://railway.com/deploy/osticket-1
---

# Deploy osTicket

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

**[Deploy osTicket on Railway](https://railway.com/template/osticket-1)**

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

- **Creator:** Agaz Self-Host
- **Category:** Other
- **Total deploys:** 2

## Template content

### MySQL https://devicons.railway.app/i/mysql.svg

- **Image:** mysql:8
- **Start command:** `docker-entrypoint.sh mysqld --innodb-use-native-aio=0 --disable-log-bin --performance_schema=0 --innodb-buffer-pool-size=1G`

### osTicket https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/osticket.png

- **Source:** https://github.com/aalfath/osticket-railway-template
- **Health check:** /healthz
- **Public domain:** Yes

## Documentation

# 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

* osTicket releases: https://github.com/osTicket/osTicket/releases
* osTicket documentation: https://docs.osticket.com
* Template repository: https://github.com/aalfath/osticket-railway-template

### 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.



## 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/osticket-1
