The folder docker
contains the specifics of the various docker containers
The folder docker/logs
contains error files generated by nginx.
The folder app
contains the source code of the web project.
The container of php, is my own php version https://hub.docker.com/r/leknoppix/php
Before starting, remember to adapt the docker-compose.yml
with the version of php or mysql of your choice, as well as the environment.yaml
file in order to customize the name of the database, passwords ....
docker-compose exec php rm -rf public
docker-compose build
docker-compose up -d
docker-compose exec php composer create-project laravel/laravel .
Test the page opening on http://127.0.0.1:8080
docker-compose build
docker-compose up -d
docker-composer create-project symfony/website-skeleton .
Test the page opening on http://127.0.0.1:8080
docker-compose up -d
Test the page opening on http://127.0.0.1:8080
To install the npm:
docker-compose run nodejs npm install
To execute a command :
docker-compose run nodejs npm run build (ou watch ou dev ...)