Skip to content

Nginx webserver and PHP FPM in a container (compose file also contains the composer in a different container)

Notifications You must be signed in to change notification settings

Scofield62/nginxphp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Usage of nginxphp

  • cd docker
  • docker-compose up -d

Put the sourcecode into the source directory, even if the container has been started ;)

Installing extensions

How to install mongodb

  • Comment out the mongo part in Dockerfiles
  • put /docker/composer folder to composer container and run the related sh script (see example in docker-compose file)

How to Use devnginxphp with PhpStorm as remote debugger

Docker part

  • cd docker
  • docker-compose -f docker-compose-dev.yml build
  • docker-compose -f docker-compose-dev.yml up -d

PhpStorm part

  • PHPSTORM->Preferences

PREFERENCES

SERVERS

  • Run->Edit Configuration

CONFIGURATION

  • Start debugging and visit website: localhost

STARTDEBUG

About

Nginx webserver and PHP FPM in a container (compose file also contains the composer in a different container)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published