- Nginx/Nasxi/SSL container
- Varnish cache container
- Nginx web server container
- PHP-FPM 7.2+ container
- PerconaDB container
sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /mnt/d/Projects/webserver/ssl/nginx.key -out /mnt/d/Projects/webserver/ssl/nginx.crt
sudo openssl dhparam -out /mnt/d/Projects/webserver/ssl/nginx.pem 4096
docker build -t ssl . docker tag ssl labdocodigo/ssl docker push labdocodigo/ssl:latest
docker build -t varnish . docker tag varnish labdocodigo/varnish docker push labdocodigo/varnish:latest
docker build -t web . docker tag web labdocodigo/web docker push labdocodigo/web:latest
docker build -t php . docker tag php labdocodigo/php docker push labdocodigo/php:latest
docker images
docker ps (docker container ls)
docker-compose up -d
docker-compose down
docker stop
- Upload folder security
- PHP HTTP filters
- Varnish cache headers
- Log rotate
- Database
- Web service system
- Daemons system