Deploy GLPI
IT asset management and ITIL service desk, MariaDB included
Just deployed
/var/lib/mysql
Just deployed
/var/glpi
Deploy and Host GLPI on Railway
GLPI is a free, open-source IT asset management and service desk (GPL-3.0). It keeps an inventory of computers, network gear, software licences and contracts, and runs an ITIL helpdesk with tickets, problems, changes, SLAs and a knowledge base. This template runs GLPI 12.0.2 from the official image.
About Hosting GLPI
GLPI needs a PHP web server, a MariaDB or MySQL database, a writable data directory and a worker for its scheduled tasks. This template runs two services on Railway's private network. GLPI is the official image (Apache + PHP 8.5) with GLPI's cron worker in the same service, on a volume at /var/glpi. MariaDB 11.8 LTS stores all data on its own volume. On first start GLPI installs its database unattended; on later starts it applies pending migrations. There is no setup wizard and no default password: sign in as glpi with the generated GLPI_ADMIN_PASSWORD from the GLPI service's variables. The demo accounts are disabled.
Common Use Cases
- Run an IT helpdesk with tickets, SLAs, a self-service portal and a knowledge base
- Keep an inventory of hardware, software licences, contracts and warranties
- Track changes and problems against the assets they affect
Dependencies for GLPI Hosting
- MariaDB 11.8 (included, built from the template repo)
- A Railway volume for GLPI's configuration, encryption key, documents and plugins (included)
Deployment Dependencies
- GLPI: https://github.com/glpi-project/glpi (release 12.0.2)
- Official Docker image docs: https://github.com/glpi-project/docker-images
- Template repo: https://github.com/aalfath/glpi-railway-template
Implementation Details
Services:
GLPI(public): web interface and REST API, plus the scheduled-task worker. Health check/healthz(GLPI's status page). If Apache or the worker stops, the service exits with an error so Railway restarts it.MariaDB(private): the database, sized for small plans (128 MB buffer pool).
After deploy:
- Wait for
GLPIto turn green (the first start takes 1–2 minutes). - Open the public URL and sign in as
glpiwithGLPI_ADMIN_PASSWORD. Change the password from your avatar menu. - Optional: set up email under Setup → Notifications, and LDAP or SSO under Setup → Authentication. If you add your own domain, update
GLPI_URL_BASE.
Both services ran with 0.5 GB RAM / 1 vCPU each in our tests (GLPI about 100 MB, MariaDB about 270 MB). Updates: every service builds from the template repo, so Railway offers an update when we move to a new GLPI or MariaDB release; read the repo's CHANGELOG.md and back up the MariaDB volume before applying it.
Why Deploy GLPI 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 GLPI 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
