An automated docker container using debian:buster image with LEMP, wordpress and autosigned SSL.
This docker project aims to build multiples services, using only one container:
- Web server with Nginx
- SQL Database with MariaDB
- Database web admin with PhpMyAdmin
- OpenSource CMS with Wordpress
- Self-signed SSL certificate with OpenSSL
- Switch to turn ON or OFF the Nginx auto Index with Shell Script
- git clone
https://github.com/juanlamarao/42_ft_server/
- cd 42_ft_server
- docker build . -t ft_server
- docker run -it -p80:80 -p443:443 ft_server
- docker run -it -p80:80 -p443:443 juanlamarao/ft_server:latest
https://localhost
https://localhost/wordpress
https://localhost/phpmyadmin
docker exec $(docker ps | grep ft_server | cut -d ' ' -f 1) bash /root/switch_autoindex.sh
https://localhost
docker rm $(docker ps -a | grep ft_server | cut -d ' ' -f 1)
docker images -a | grep "ft_server" | awk '{print $3}' | xargs docker rmi
docker images -a | grep "buster" | awk '{print $3}' | xargs docker rmi
Um Container Docker automatizado utilizando uma imagem Debian:buster com LEMP, wordpress e SSL autoassinado.
Este projeto docker tem como objetivo construir multiplus serviços, utilizando somente um container:
- Servidor Web com Nginx
- Banco de dados SQL com MariaDB
- Administração web para banco de dados com PhpMyAdmin
- Gerenciados de conteúdo para WEB OpenSource com Wordpress
- Certificado SSL autoassinado com OpenSSL
- Mecanismo para habilitar e desabilitar o autoindex do Nginx com Shell Script
- git clone
https://github.com/juanlamarao/42_ft_server/
- cd 42_ft_server
- docker build . -t ft_server
- docker run -it -p80:80 -p443:443 ft_server
- docker run -it -p80:80 -p443:443 juanlamarao/ft_server:latest
https://localhost
https://localhost/wordpress
https://localhost/phpmyadmin
docker exec $(docker ps | grep ft_server | cut -d ' ' -f 1) bash /root/switch_autoindex.sh
https://localhost
docker rm $(docker ps -a | grep ft_server | cut -d ' ' -f 1)
docker images -a | grep "ft_server" | awk '{print $3}' | xargs docker rmi
docker images -a | grep "buster" | awk '{print $3}' | xargs docker rmi