A simple compose file to start up a ghost site with an auto renewing A+ ranked cert verified by letsencrypt
- Docker and docker-compose are installed on the host server
- Proper DNS records are configured for your domain
Note: Remove ,www.${DOMAIN}
from VIRTUAL_HOST
and LETSENCRYPT_HOST
if you don't plan on setting up a www subdomain.
- Log into your server
- Clone this repo and enter the directory
git clone https://github.com/mattflow/ghost-server.git
cd ghost-server
- Add a
.env
file withDOMAIN
andEMAIL
variables
DOMAIN=yourdomain.com
EMAIL=you@yourdomain.com
- Run compose up
docker-compose up -d
- Set up your site at
https://<your domain>.com/ghost