
Deploy Ghost - No Database on Your Own Server
This will create a Ghost blog without a database. After installation you will need to change config.production.json, theres a bug where the port number is in the url.
Want to deploy Ghost - No Database on your server faster? Try Senate with one-command setup, automatic HTTPS and monitoring.
What is Ghost - No Database?
Ghost is a fully open source, adaptable platform for building and running a modern online publication. We power blogs, magazines and journalists from Zappos to Sky News.
Self-Host Ghost - No Database
Follow these steps to deploy on your own server.
Install Docker
Skip this step if Docker is already installed on your server.
curl -fsSL https://get.docker.com | sh
Configure
Customize the settings below. Defaults work for most cases.
General
Deploy
Copy the configuration and run it on your server.
services:
ghost_only:
image: bitnamilegacy/ghost:5.2.2
environment:
GHOST_DATABASE_HOST: localhost
GHOST_DATABASE_NAME: ghost
GHOST_DATABASE_PASSWORD: ""
GHOST_DATABASE_PORT_NUMBER: "3306"
GHOST_DATABASE_USER: ""
GHOST_EMAIL: youremail@example.com
GHOST_ENABLE_HTTPS: yes
GHOST_HOST: blog.example.com
GHOST_PASSWORD: ""
GHOST_PORT_NUMBER: "2368"
GHOST_SMTP_FROM_ADDRESS: your_email@gmail.com
GHOST_SMTP_HOST: smtp.gmail.com
GHOST_SMTP_PASSWORD: ""
GHOST_SMTP_PORT: "465"
GHOST_SMTP_PROTOCOL: ""
GHOST_SMTP_USER: your_email@gmail.com
volumes:
- ghost_only-data:/bitnami/ghost
volumes:
ghost_only-data: {}
Then run:
docker compose up -d
Access
Once started, access your app at http://localhost:2368
Why Self-Host Ghost - No Database?
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
bitnamilegacy/ghost:${ghost_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)"