This repo contains a basic docker container for PHP apps.
Clone this Repository, enter on its folder and start the containers.
# docker-compose up -d
Access the Frontend in the browser http://localhost:8000
You should see phpinfo page.
1- Just install it on root folder and change line 4 of
.docker/nginx/nginx.conf to root /var/www/public;
2- Setup the .env at .docker/app/.env
Use DB envs as example and do the same for other envs you need.
These envs should be at docker-compose.yaml
and .docker/app/.env
Click Here to see a tutorial explaining how to setup Xdebug in PHPStorm.
Thiago Luna - Linkedin