---
title: "Deploy GLPI"
description: "IT asset management and ITIL service desk, MariaDB included"
category: "Other"
url: https://railway.com/deploy/glpi-1
---

# Deploy GLPI

IT asset management and ITIL service desk, MariaDB included

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

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

- **Creator:** Agaz Self-Host
- **Category:** Other

## Template content

### MariaDB https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/mariadb.png

- **Source:** https://github.com/aalfath/glpi-railway-template

### GLPI https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/glpi.png

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

## Documentation

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

1. Wait for `GLPI` to turn green (the first start takes 1–2 minutes).
2. Open the public URL and sign in as `glpi` with `GLPI_ADMIN_PASSWORD`. Change the password from your avatar menu.
3. 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.



## 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)
- [Double Commander in your browser](https://railway.com/deploy/double-commander-in-your-browser) — The Double Commander file manager in the cloud, from any device

Open this page in a browser: https://railway.com/deploy/glpi-1
