mirror of
https://github.com/woosungchoi/docker-cdn-webserver.git
synced 2026-04-25 10:35:57 +03:00
No description
|
|
||
|---|---|---|
| nginx | ||
| php | ||
| dc | ||
| dcc | ||
| docker-compose.production.yml | ||
| docker-compose.yml | ||
| docker_upgrade_centos.sh | ||
| docker_upgrade_ubuntu.sh | ||
| README.md | ||
docker-cdn-webserver
These are some reasons why use this Docker Compose in your Docker CDN Webserver production environment.
☝️ 2 command to install
⚡ Performance Optimized
🔒 SSL auto-renewed
🆕 Latest docker images
Stack
- Ubuntu 20.04 LTS or Centos 8
- Php7.4 latest docker image(alpine)
- Nginx latest docker image(alpine)
- Certbot latest docker image
- Docker
- Docker-compose
How to use this source ?
Make sure that your CDN domain is pointing to your server IP.
Open 80,443 port for connect.
Copy this command below and run it inside your new server.
For Ubuntu 20.04 LTS users
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-cdn-webserver/master/dc && bash dc setup && rm -f dc
For Centos 8 users
sudo yum -y update && sudo yum install -y curl git crontabs
curl -o dcc https://raw.githubusercontent.com/woosungchoi/docker-cdn-webserver/master/dcc && bash dcc setup && rm -f dcc
Commands
| Commands | Description |
|---|---|
./dc start |
Start your containers |
./dc stop |
Stop all containers |
./dc update |
Get latest docker images update and restart containers |