---
title: "Deploy Drupal"
description: "Deploy Drupal, an open source content management platform"
category: "CMS"
url: https://railway.com/deploy/OmuxnN
---

# Deploy Drupal

Deploy Drupal, an open source content management platform

**[Deploy Drupal on Railway](https://railway.com/template/OmuxnN)**

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

- **Creator:** Ntokozo's Projects
- **Category:** CMS
- **Total deploys:** 109

## Template content

### drupal

- **Source:** https://github.com/docker-library/drupal
- **Public domain:** Yes

### Postgres https://devicons.railway.app/i/postgresql.svg

- **Image:** ghcr.io/railwayapp-templates/postgres-ssl:latest

## Documentation

## Overview
This template uses the Drupal [https://github.com/docker-library/drupal](docker image) mantained by the docker community, not the Drupal team itself.

## Configuration
By default, the version of Drupal deployed is Drupal 11, served through PHP version 8.2. This can be overriden by updating the `Root Directory` in the service's `General` settings.

It is currently set to the path to the `Dockerfile` satisfying the above versions of Drupal and PHP `/11.4/php8.5/apache-bookworm`, though this can be updated to point to any other `Dockerfile` in the repository that contains the version you require.

## Database
Drupal supports multiple database services, namely MySQL, MariaDB, Percona Server, PostgreSQL and SQLite (see the [docs](https://www.drupal.org/docs/getting-started/system-requirements/database-server-requirements) for more information). This template is set up to deploy a PostgreSQL database for ease of deployment, but this can be replaced with whichever is needed.

Drupal requires the `pg_trgm` PostgreSQL plugin. In order to install this, run the following command in the PostgreSQL shell in the `Query` tab of the databse service:

```sql
CREATE EXTENSION pg_trgm;
```

## Deploy
No further configuration is required, after starting the service, and installing the PostgreSQL plugin, navigate to the project's public url to start configuring your Drupal site 😊

## Similar templates

- [Libredesk - Complete Setup](https://railway.com/deploy/libredesk-complete-setup) — Complete self-hosted omnichannel customer support desk.
- [Paperless-ngx](https://railway.com/deploy/paperless-ngx-3) — Paperless-ngx — document management with OCR and full-text search
- [Instatic CMS - Postgres](https://railway.com/deploy/instatic-cms-postgres) — Design, build and manage powerful static sites from state-of-the-art CMS

Open this page in a browser: https://railway.com/deploy/OmuxnN
