jwon42 / 42cursus_05_ft_server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

๐Ÿ“” ft_server

๐Ÿ“„ Mandatory part

  • You must set up a web server with Nginx, in only one docker container. The container OS must be debian buster.

  • Your web server must be able to run several services at the same time. The services will be a WordPress website, phpMyAdmin and MySQL. You will need to make sure your SQL database works with the WordPress and phpMyAdmin.

  • Your server should be able to use the SSL protocol.

  • You will have to make sure that, depending on the url, your server redirects to the correct website.

  • You will also need to make sure your server is running with an autoindex that must be able to be disabled.


๐Ÿ“„ Usefull Commands

  • Build image

    docker build -t IMAGE_NAME .
    
  • Run container

    docker run --name CONTAINER_NAME -p 80:80 -p 443:443 -itd IMAGE_NAME
    
  • Execute running container

    docker exec -it CONTAINER_NAME /bin/bash
    

About


Languages

Language:PHP 69.2%Language:Dockerfile 24.1%Language:HTML 6.6%