---
title: "Deploy WordPress (Dockerfile -> Docker image)"
description: "Migrate WordPress from Legacy Dockerfile to Docker image"
category: "CMS"
url: https://railway.com/deploy/4PQQcM
---

# Deploy WordPress (Dockerfile -> Docker image)

Migrate WordPress from Legacy Dockerfile to Docker image

**[Deploy WordPress (Dockerfile -> Docker image) on Railway](https://railway.com/template/4PQQcM)**

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

- **Creator:** Jack
- **Category:** CMS
- **Total deploys:** 14

## Template content

### Primary

- **Image:** wordpress
- **Start command:** `/bin/bash -c "echo 'ServerName 0.0.0.0' >> /etc/apache2/apache2.conf && echo 'DirectoryIndex index.php index.html' >> /etc/apache2/apache2.conf && echo 'upload_max_filesize = 50M' >> /usr/local/etc/php/php.ini && echo 'post_max_size = 50M' >> /usr/local/etc/php/php.ini && docker-entrypoint.sh apache2-foreground"`
- **Public domain:** Yes

## Documentation

⚠️ This template is **designed for deployment on projects with legacy plugins following migration**, adding salts and utilizing the docker image instead of a repo.

![WordPress - Content management system (CMS)](https://sixsixninenine-co-uk.s3.amazonaws.com/wp-content/uploads/2015/12/wordpress-logo-banner.jpg)

# WordPress - Content management system (CMS)

n8n is an extendable workflow automation tool. With a [**GNU Public License**](https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html), an open-source software license that provides legal protection for the CMS and its derivative work, such as themes and plugins. WordPress empowers you to effortlessly create, manage, and customize stunning websites, making it the ultimate content management solution.

![WordPress - Screenshot](https://www.elegantthemes.com/blog/wp-content/uploads/2015/01/The-Evolution-of-UI-vs.-UX-in-WordPress-Web-Design-A-Short-History-of-the-WordPress-UI-and-UX.png)

## Demo

[📺 A short video (&lt; 4 min)](https://www.youtube.com/watch?v=3LSej1pN-54) that goes over key concepts of
creating pages and posts in WordPress.

## Available plugins

WordPress has 58,000+ different plugins to automate and simplify content management. The list can be found on:
[https://wordpress.org/plugins/](https://wordpress.org/plugins/)

## Documentation

The official WordPress documentation can be found on our [documentation website](https://wordpress.org/documentation/)

Additional information and example lessons on the [Learn WordPress website](https://learn.wordpress.org/)

The release notes can be found [here](https://wordpress.org/news/category/releases/) and the list of security
changes [here](https://wordpress.org/news/category/security/).

## License

WordPress is distributed under the
[**GNU Public License**](https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html).

Additional information about the license model can be found in the
[docs](https://wordpress.org/about/license/).

## 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/4PQQcM
