Skip to content

Example of a docker-compose with php-fpm + mssql + nginx + node/express working with 3 or more websites.

Notifications You must be signed in to change notification settings

brilvio/php-fpm-mssql-nginx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP + MSSQL + nginx + node/express

Here is a example of two or more php websites inside separate dockers running on a custom php-fpm image with a nginx serving the two websites.

I didn't found anything like it online and it was a pain to get working, got bits and pieces from everywhere, the main problem was configuring nginx to function with 2 fpm servers.

But now that I made this example it is easy.

Just remember to delete de volumes when updating the images.

How to use it

$ chmod +x build-dockers.sh

$ docker-compose up -d

To remove volumes when going down

$ docker-compose down -v

Articles about this project

About

Example of a docker-compose with php-fpm + mssql + nginx + node/express working with 3 or more websites.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published