Skip to content

thiagoluna/php-xdebug-mysql-nginx-redis-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

8 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

PHP Apps Containers


This repo contains a basic docker container for PHP apps.

πŸš€ Tecnologies

βš™οΈ Setup & Run

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.

πŸ’» For Laravel Apps

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

πŸ“ Xdebug in PHPStorm

Click Here to see a tutorial explaining how to setup Xdebug in PHPStorm.

Thiago Luna - Linkedin

About

Docker container for PHP apps with PHP, Xdebug, Mysql, Nginx and Redis

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published