easy Ghost self-hosting with docker-compose
You will need docker and docker-compose
For running this configuration you will need a machine with atleast 1GB of RAM. If your blog has estimate of less than 100K hits/day you will be fine with sqlite instead, consider using ghost-sqlite-compose which is more lightweight
SSL Certificate will be generated and refreshed automatically by Traefik
. You only need to specify your domain and mail address for ACME notifications in a config file .env
.
- Clone this repo and create default config from template
git clone https://github.com/linnik/ghost-mysql-compose.git
cd ghost-mysql-compose
cp env.template .env
-
Fill config file named
.env
with credentials for mail sending and DB access. Leave no empty values! -
Launch!
docker compose up -d
docker compose ps