Quick start a blog with Ghost, Mysql, Docker & Docker-Compose running on a Ubuntu Server. For more detail and advance config, follow the series of ghost blog development on my blog at https://vinguyen.blog/blog-development-series-setup-mvp-ghost-blog-with-docker
-
Operating System Ubuntu 22.04
-
Docker version 20.10.21
-
Docker-compose version 1.26.0
- Ghost blog software version 5.x
- MySQL database version 8.x
- A Ubuntu 22.04 LTS server
- A domain for your blog
- Cloudflare account linked with your domain
- Clone this project into the server's filesystem.
- Create new
.env
file fromenv-sample
, then edit the variable on .env if you want
cp env-sample .env
- Run docke-compose within your server
0.
docker-compose up -d
(you can remove the -d if you want to see logs, then Ctrl+C to stop all containers) - Go to Cloudflare and mapping your domain with server ip
- Go to https://YOUR_DOMAIN/ghost to set up your blog.
- Once you've made your admin account using that wizard, go back to: https://YOUR_DOMAIN/admin
- Log in and enjoy.
MIT LICENSE