---
title: "Deploy WordPress + MySQL"
description: "Zero Config | One click | WordPress | Docker | MySQL"
category: "Blogs"
url: https://railway.com/deploy/yG1Jw8
---

# Deploy WordPress + MySQL

Zero Config | One click | WordPress | Docker | MySQL

**[Deploy WordPress + MySQL on Railway](https://railway.com/template/yG1Jw8)**

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

- **Creator:** YAV.AI
- **Category:** Blogs
- **Total deploys:** 1,478

## Template content

### MySQL https://devicons.railway.app/i/mysql.svg

- **Image:** mysql
- **Start command:** `docker-entrypoint.sh mysqld --innodb-use-native-aio=0 --disable-log-bin --performance_schema=0`

### Docker Image

- **Image:** wordpress
- **Start command:** `bash -c "grep -q 'ServerName localhost' /etc/apache2/apache2.conf || echo 'ServerName localhost' >> /etc/apache2/apache2.conf; a2dismod mpm_event || true; a2dismod mpm_worker || true; a2enmod mpm_prefork; exec docker-entrypoint.sh apache2-foreground"`
- **Public domain:** Yes

## Documentation

# One Click WordPress + MySQL

## ✨ Features
- **Zero Configuration:** No config setup needed, simply deploy and start using in 1 Click!
- **WordPress & MySQL Integration:** Seamless integration of WordPress and MySQL.

## 💁‍♀️ How to use

1. **Deploy this template**

[![Deploy on Railway](https://railway.app/button.svg)](https://railway.app/new/template/yG1Jw8?referralCode=yavAI)

2. **Follow the prompts to set up your project.** All environment variables are pre-configured.

## After deployment
- Access your WordPress site through the provided Railway URL.
- Finish WordPress Setup.
- Your WordPress site is ready!
- Manage your MySQL database through the Railway dashboard.

## Similar templates

- [Pixelfed](https://railway.com/deploy/OZSdEw) — Explore + Share beautiful photos and videos on the Fediverse
- [Hexo](https://railway.com/deploy/hexo) — Hexo — fast static blog framework with admin editor and S3 media storage
- [Bluesky PDS (Atproto Spaces Alpha)](https://railway.com/deploy/bluesky-pds-atproto-spaces-alpha) — "The Atproto Spaces Alpha" version of Bluesky PDS.

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