Place the folder at the root of your project and rename it "docker".
Copy .env.local.example and remane it .env.local at the root of your project
This docker is running :
- PHP 8.0.1 (PHP 8.1 ASAP)
- MySQL 8.0.23
- Nginx 1.19.6
- NodeJS 14.15.5
- NPM 6.14.11
- Build
docker-compose -f ./docker/docker-compose.yml build
- Build & Up (No daemon)
docker-compose -f ./docker/docker-compose.yml up --build
- Up (No daemon)
docker-compose -f ./docker/docker-compose.yml up
- Up (With daemon)
docker-compose -f ./docker/docker-compose.yml up -d
- Access to PHP container
docker exec -ti app bash
- Stop
docker-compose -f ./docker/docker-compose.yml stop
- Down
docker-compose -f ./docker/docker-compose.yml down
If something is missing for your project or if you are struggling with this docker don't hesite to create an issue