/ft_server

42 | Very basic introduction to Docker

Primary LanguagePHP

Project's status Project's primary language

ft_server

This is a very basic introduction to Docker

Full subject is available here

Useful command to build and test :

docker rm mywebserv && docker build -t mywebserv . && docker run --name mywebserv -it -p 80:80 -p 443:443 mywebserv

phpMyAdmin's default username is "root" and no password is required

If you want to change autoindex mode :

sh ~/../tmp/autoindex_switch.sh

If you want to print server logs in real time:

tail -f /var/log/nginx/access.log /var/log/nginx/error.log

phpinfo available @ localhost/phpproof.php