These are some reasons why use this Docker Compose in your Gnuboard
production environment.
☝️ 2 command to install
⚡ Performance Optimized
🔒 SSL auto-renewed
🆕 Latest docker images and Gnuboard
🚧 Phpmyadmin for database administration
🚢 Portainer for docker container management
- Ubuntu 20.04 LTS or Centos 8
- Gnuboard latest(including rewrite configuration)
- Php7.4 latest docker image(alpine)
- MariaDB latest docker image
- Redis latest docker image(alpine)
- Nginx latest docker image(alpine)
- Certbot latest docker image
- Phpmyadmin latest docker image(fpm-alpine)
- Portainer latest docker image
- Docker
- Docker-compose
Make sure that your domain
and www.domain
and pma.domain
and port.domain
are pointing to your server IP.
Type | Name | Content |
---|---|---|
A | domain.com | 123.123.123.123 |
A | pma | 123.123.123.123 |
A | port | 123.123.123.123 |
A | www | 123.123.123.123 |
Open 80
,443
port for connect.
Copy this command below 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 -o dc https://raw.githubusercontent.com/woosungchoi/docker-gnuboard/master/dc && bash dc setup && rm -f dc
sudo yum -y update && sudo yum install -y curl git crontabs
curl -o dcc https://raw.githubusercontent.com/woosungchoi/docker-gnuboard/master/dcc && bash dcc setup && rm -f dcc
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/docker-gnuboard/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/docker-gnuboard/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/docker-gnuboard/master/dcwl && bash dcwl setup && rm -f dcwl
Host : db
User : YOUR DATABASE USERNAME
Password : YOUR DATABASE PASSWORD
DB : YOUR DATABASE NAME
Gnuboard : https://yourdomain.com
Phpmyadmin : https://pma.yourdomain.com
Portainer : https://port.yourdomain.com
First, change the /your/path/to/gnuboard/
part of the docker_upgrade.sh
file to suit your environment.
Then, make this file executable.
chmod a+x docker_upgrade.sh
And put it in crontab. Change the /your/path/to/gnuboard/
part of the content below.
echo "30 12 * * * /your/path/to/gnuboard/docker_upgrade.sh >> /var/log/docker_upgrade_cron.log 2>&1" >> mycron && sudo crontab mycron && rm mycron
Commands | Description |
---|---|
./dc start |
Start your containers |
./dc stop |
Stop all containers |
./dc update |
Get latest docker images update and restart containers |