Analytics cookies only (Google Analytics, PostHog). No ad networks, no cross-site tracking. See our privacy policy.
The PHP and MySQL content management system for websites and blogs, extended with themes and plugins.
Runs on a VPS from $6/mo (Kamatera 2GB, 2 GB RAM) · prices checked Nov 2026
Fits home hardware (524 MB measured idle, RAM only): Raspberry Pi 4 (4 GB) (arm64 untested), Raspberry Pi 5 (8 GB) (arm64 untested), Repurposed laptop (8 GB), Intel N100 mini PC (16 GB), AMD Ryzen mini PC (32 GB).
Paid link — we earn a commission if you shop through it.
Run these commands on your server:
# WordPress — the official Docker images (WordPress 7.1 + MySQL 8.4 LTS, pinned) behind Caddy for automatic HTTPS, per our WordPress deploy guide
# needs a domain pointed at this server and ports 80/443 open; WordPress and MySQL publish nothing publicly
mkdir -p ~/wordpress && cd ~/wordpress
DOMAIN=blog.example.com
[ -f .env ] || printf 'DB_PASS=%s\nDOMAIN=%s\n' "$(openssl rand -hex 16)" "$DOMAIN" > .env
cat > docker-compose.yml <<'EOF'
services:
wordpress:
image: wordpress:7.1.3-apache
restart: always
ports: ["127.0.0.1:8080:80"]
depends_on:
db:
condition: service_healthy
environment:
WORDPRESS_DB_HOST: db
WORDPRESS_DB_USER: wordpress
WORDPRESS_DB_PASSWORD: ${DB_PASS}
WORDPRESS_DB_NAME: wordpress
volumes: ["wordpress:/var/www/html"]
db:
image: mysql:8.4
restart: always
environment:
MYSQL_DATABASE: wordpress
MYSQL_USER: wordpress
MYSQL_PASSWORD: ${DB_PASS}
MYSQL_RANDOM_ROOT_PASSWORD: "1"
volumes: ["db:/var/lib/mysql"]
healthcheck:
test: ["CMD-SHELL", "mysqladmin ping -h 127.0.0.1 -u$$MYSQL_USER -p$$MYSQL_PASSWORD --silent"]
start_period: 30s
interval: 10s
timeout: 5s
retries: 10
wpcli:
image: wordpress:cli
profiles: ["tools"]
depends_on:
db:
condition: service_healthy
environment:
WORDPRESS_DB_HOST: db
WORDPRESS_DB_USER: wordpress
WORDPRESS_DB_PASSWORD: ${DB_PASS}
WORDPRESS_DB_NAME: wordpress
volumes: ["wordpress:/var/www/html"]
caddy:
image: caddy:2
restart: always
ports: ["80:80", "443:443"]
environment:
DOMAIN: ${DOMAIN}
volumes: ["./Caddyfile:/etc/caddy/Caddyfile:ro", "caddy_data:/data"]
depends_on: [wordpress]
volumes:
wordpress:
db:
caddy_data:
EOF
cat > Caddyfile <<'EOF'
{$DOMAIN} {
encode zstd gzip
reverse_proxy wordpress:80
}
EOF
sudo docker compose up -d # → WordPress on http://127.0.0.1:8080 (server-local); Caddy serves https://DOMAIN
# create the admin from the command line so the public install screen is never left open:
. ./.env
WP_ADMIN_PASS=$(openssl rand -hex 12)
sudo docker compose run --rm wpcli wp core install \
--url="https://$DOMAIN" --title="My Site" \
--admin_user=siteadmin --admin_password="$WP_ADMIN_PASS" \
--admin_email="admin@$DOMAIN" --skip-email
echo "admin password: $WP_ADMIN_PASS"A PHP content framework where you model structured content and languages, or the familiar block-editor CMS with the plugin ecosystem.
A publication with members and paid newsletters built in vs. the plugin-extended CMS.
A CMS with access control and a multilingual framework in the core vs. a small core grown with the largest plugin ecosystem.
WordPress used 524 MB of RAM at idle on GCP e2-standard-2 · Ubuntu 26.04 LTS · Docker 29.9.0 (first boot, measured Oct 2026). We list a minimum of 1024 MB.
The WordPress install snippet is marked verified on Ubuntu 26.04 (Oct 2026).