- docker-engine
- docker-compose
- Use only docker-compose command "docker-compose up" that starts containers from scratch.
- To validate proper functionality of the project just go to webbrowser and access http://localhost:8889
-
Architecture is defined in the docker-compose.yml file.
-
There are three docker containers total.
-
NGINX
-
PHP
-
MYSQL
-
MySQL container is linked to the php container and resolved as mysql.
-
PHP container is linked to the nginx container and resolved as php.
-
The NGINX container is build from official nginx image and volumed with configure files placed in the config/nginx folder. Listening on 9999 port.
-
The MYSLQ container is build from official mysql image and volumed with sql schema file placed in the database folder.
-
The PHP container is build from images/php, there is a docker file based on the official PHP5.6-FPM image and additional php configuration files.