Skip to main content
50% off all plans, limited time. Starting at $2.48/mo
Ghost

Ghost

Ghost is a modern publishing platform. Headless CMS for newsletters, blogs, and paid memberships with native Stripe integration and Substack-style email subscriptions. Used at OpenAI, DuckDuckGo, and Mozilla. The MIT-licensed alternative to WordPress for serious publishers.

At a glance

54.1k

GitHub stars

58

Page views

125

Active installs

License MIT Version 6 OS Ubuntu Server 24.04 LTS Min RAM 2 GB IP IPV4,IPV6

Active installs is sample data (staging preview); real metric wires in before launch.

Access Ghost Admin

URL: https://<server-ip>/ghost

Complete initial setup: create admin user and configure site.

Manage Ghost via Docker Compose

cd /root/ghost
docker compose ps        # View running containers
docker compose up -d     # Start Ghost
docker compose down      # Stop Ghost
docker compose restart   # Restart Ghost

Credentials & Configuration

Stored in /root/ghost/.env and /root/ghost/docker-compose.yml.

Email Setup

Uncomment mail section in /root/ghost/docker-compose.yml.

Restart containers:

cd /root/ghost; docker compose restart

Ensure SMTP access is granted.

Example using Gmail App Password:

mail__transport: SMTP
mail__options__host: smtp.gmail.com
mail__options__port: 465
mail__options__secure: true
mail__options__auth__user: [email protected]
mail__options__auth__pass: your-app-password

Domain & SSL

Point your domain to the server IP.

Update /root/ghost/docker-compose.yml URL to domain (url: https://your-domain).

Restart containers:

cd /root/ghost; docker compose restart

For Certbot SSL:

apt install -y certbot python3-certbot-nginx
certbot certonly --nginx --non-interactive --agree-tos --email <your-email> -d <your-domain>

Replace SSL paths in /etc/nginx/sites-enabled/ghost.

# Example
ssl_certificate /etc/letsencrypt/live/your-domain/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/your-domain/privkey.pem;

Reload Nginx:

nginx -t && systemctl reload nginx

 

Deploy Ghost now. From $2.48/mo.