These are some reassons why use this Docker Compose in your production environment.
☝️ 2 command to install
👨💻 Ready to production and local development
⚡ Performance Optimized
🔒 SSL auto-renewed
- Ubuntu 20.04 LTS or Centos 8
- Ghost CMS lastest docker image(alpine)
- MariaDB latest docker image
- Nginx latest docker image(alpine)
- Letsencrypt latest docker image
- Docker
- Docker-compose
Make sure that your domain
and www.domain
are pointing to your server IP.
Type | Name | Content |
---|---|---|
A | domain.com | 123.123.123.123 |
A | www | 123.123.123.123 |
Then copy this command below and change the mydomain.com to your domain and change the [email protected] to your email address and run it inside your new server.
sudo apt update -y && sudo apt upgrade -y && sudo apt install curl git cron -y && sudo apt autoremove -y
curl -s https://raw.githubusercontent.com/woosungchoi/ghost-cms/master/dc | bash -s setup mydomain.com [email protected]
sudo yum -y update && sudo yum install -y curl git crontabs
curl -s dcc https://raw.githubusercontent.com/woosungchoi/ghost-cms/master/dcc | bash -s setup mydomain.com [email protected]
sudo apt update -y && sudo apt upgrade -y && sudo apt install curl git -y && sudo apt autoremove -y
curl -o dcl https://raw.githubusercontent.com/woosungchoi/ghost-cms/master/dcl && bash dcl setup && rm -f dcl
sudo yum -y update && sudo yum install -y curl git
curl -o dccl https://raw.githubusercontent.com/woosungchoi/ghost-cms/master/dccl && bash dccl setup && rm -f dccl
Install WSL2 Ubuntu 20.04 LTS and docker
https://www.wsgvet.com/ubuntu/160 , https://www.wsgvet.com/ubuntu/180
sudo apt update -y && sudo apt upgrade -y && sudo apt autoremove -y
curl -o dcwl https://raw.githubusercontent.com/woosungchoi/ghost-cms/master/dcwl && bash dcwl setup && rm -f dcwl
🎉Done! Access your http://localhost:your_port/ghost or http://your_domain:your_port/ghost to access the admin panel and create your account.
Commands | Description |
---|---|
./dc start |
Start your containers |
./dc stop |
Stop all containers |
./dc update |
Get Ghost updates and restart containers |
Thank you all contributor!