Self-host osTicket with Docker
A widely used open-source support ticket system for teams handling customer requests.
This page describes the Levelrail template for osTicket (Productivity). It deploys the services below as one Docker Compose app on your own server.
Project site: https://docs.osticket.com/en/latest/.Recommended memory: about 512 MiB.
Services, ports and volumes
| Service | Image | Container ports | Volumes |
|---|---|---|---|
db | mariadb:11 | none | osticket_db_data -> /var/lib/mysql |
osticket | tiredofit/osticket:1.18.2 | 80 | osticket_data -> /www/osticket |
Environment variables
| Service | Variable | Value |
|---|---|---|
db | MARIADB_DATABASE | Preset in the template |
db | MARIADB_PASSWORD | Generated at deploy |
db | MARIADB_ROOT_PASSWORD | Generated at deploy |
db | MARIADB_USER | Preset in the template |
osticket | ADMIN_EMAIL | Preset in the template |
osticket | ADMIN_PASS | Generated at deploy |
osticket | ADMIN_USER | Generated at deploy |
osticket | DB_HOST | Preset in the template |
osticket | DB_NAME | Preset in the template |
osticket | DB_PASS | Generated at deploy |
osticket | DB_USER | Preset in the template |
osticket | INSTALL_SECRET | Generated at deploy |
Passwords and keys marked as generated are created for you when the app is deployed and stored as secrets. Values are not shown here.
Deploy osTicket with Levelrail
In the dashboard, open Apps, choose New app, then Browse templates, and select osTicket. Review the Compose body and deploy.
With the CLI:
levelrail-cli templates deploy osticket --name my-osticketSee Service template catalog for how templates work, and Getting started if you have not installed Levelrail yet.
More Productivity templates
All templates are listed in the self-host gallery.