easy Ghost self-hosting with docker-compose
You will need docker and docker-compose
For running this configuration you will need a machine with 512MB of RAM. If your blog has estimate of less than 100K hits/day you will be fine with sqlite, but with heavier load consider using ghost-mysql-compose.
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-sqlite-compose.git
cd ghost-sqlite-compose
cp env.template .env
-
Replace default values in a config file named
.env
. Leave no empty values! -
Launch
docker compose up -d
docker compose ps