Back to Apps
WordPress

Deploy WordPress on Your Own Server

WordPress is a content management system based on PHP and MySQL that is usually used with the MySQL or MariaDB database

๐Ÿ—„๏ธ Databases๐Ÿ“ CMS

Want to deploy WordPress on your server faster? Try Senate with one-command setup, automatic HTTPS and monitoring.

Get Started

What is WordPress?

WordPress is an online, open source website creation tool written in PHP. But in non-geek speak, itโ€™s probably the easiest and most powerful blogging and website content management system (or CMS) in existence today. Enter your WordPress Configuration parameters and click on next. A MySQL (database) and a WordPress container will be created for you. The process will take about a minute for the process to finish.

Self-Host WordPress

Follow these steps to deploy on your own server.

1

Install Docker

Skip this step if Docker is already installed on your server.

curl -fsSL https://get.docker.com | sh
2

Configure

Customize the settings below. Defaults work for most cases.

General
3

Deploy

Copy the configuration and run it on your server.

services:
  wordpress-db:
    image: mysql:8.4.3
    environment:
      MYSQL_DATABASE: wordpress
      MYSQL_PASSWORD: 2ba71d451f23ee45
      MYSQL_ROOT_PASSWORD: 2ba71d451f23ee45
      MYSQL_USER: wordpressuser
    volumes:
      - wordpress-db-data:/var/lib/mysql
  wordpress-wordpress:
    image: wordpress:6.7.1
    environment:
      WORDPRESS_DB_HOST: wordpress-db:3306
      WORDPRESS_DB_PASSWORD: 2ba71d451f23ee45
      WORDPRESS_DB_USER: wordpressuser
    volumes:
      - wordpress-wp-data:/var/www/html
    depends_on:
      - wordpress-db
volumes:
  wordpress-db-data: {}
  wordpress-wp-data: {}

Then run:

docker compose up -d
4

Access

Once started, access your app at http://localhost:80

Why Self-Host WordPress?

Full Data Ownership

Your data stays on your servers. No third-party access.

No Monthly Fees

Pay only for your server. No per-seat or usage charges.

Complete Control

Customize, backup, and scale on your own terms.

Privacy & Compliance

Meet GDPR, HIPAA, or internal security requirements.

Technical Details

Docker Image

${db_type}:${database_version}

Want to go faster?

Try Senate! Senate handles Docker, HTTPS, updates, and monitoring for you. Deploy any of our 300+ apps with a single command.

Install on any Linux server:

sh -c "$(curl -sSL https://get.senate.sh)"