Analytics cookies only (Google Analytics, PostHog). No ad networks, no cross-site tracking. See our privacy policy.
A Node.js publishing platform for blogs and paid newsletters, with built-in member signups, email delivery and Stripe subscriptions.
Runs on a VPS from $6/mo (Kamatera 2GB, 2 GB RAM) · prices checked Nov 2026
Fits home hardware (645 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:
# Ghost 6 — the official Docker image (pinned) with MySQL 8.4 LTS behind Caddy for automatic HTTPS, per our Ghost deploy guide
# needs a domain pointed at this server and ports 80/443 open; Ghost and MySQL publish nothing publicly
mkdir -p ~/ghost && cd ~/ghost
DOMAIN=blog.example.com
[ -f .env ] || printf 'DB_PASS=%s\nDOMAIN=%s\n' "$(openssl rand -hex 16)" "$DOMAIN" > .env
chmod 600 .env
cat > docker-compose.yml <<'EOF'
services:
ghost:
image: ghost:6.69.0-alpine
restart: always
ports: ["127.0.0.1:2368:2368"]
depends_on:
db:
condition: service_healthy
environment:
database__client: mysql
database__connection__host: db
database__connection__user: ghost
database__connection__password: ${DB_PASS}
database__connection__database: ghost
url: https://${DOMAIN}
volumes: ["content:/var/lib/ghost/content"]
db:
image: mysql:8.4
restart: always
environment:
MYSQL_DATABASE: ghost
MYSQL_USER: ghost
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
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: [ghost]
volumes:
content:
db:
caddy_data:
EOF
cat > Caddyfile <<'EOF'
{$DOMAIN} {
encode zstd gzip
reverse_proxy ghost:2368
}
EOF
sudo docker compose up -d # → Ghost on http://127.0.0.1:2368 (server-local); Caddy serves https://DOMAIN
# the first visitor to https://DOMAIN/ghost becomes the owner: create that account as soon as HTTPS answersGhost used 645 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 Ghost install snippet is marked verified on Ubuntu 26.04 (Oct 2026).