docker-ghost-caddy will set up a Ghost blog behind a Caddy proxy on Docker Compose. Your blog will be secured by an SSL certificate from Let's Encrypt.
- Clone repository to your server
cp proxy/Caddyfile-example proxy/Caddyfile- In
proxy/Caddyfilechangeyour.domain.hereandyou@email.comto your blog's domain and your email (email used for generation of SSL certificate) - In
docker-compose.ymlchangehttps://your.domain.hereto your https domain - Ensure your DNS record is pointed at your server. If it is not, Let's Encrypt will not be able to generate your SSL cert and Caddy will fail to start.
- Run
docker-compose buildto build the docker images
Run docker-compose up -d to run in detached mode
Run docker-compose stop to stop
The Ghost service mounts the ghost/content directory where you can access all your blog data.