Skip to content

lfserrra/docker-php7.4-nginx-sqlsrv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Docker: PHP 7.4 + Nginx + Driver Sqlsrv

First, edit root path in the .docker/nginx/nginx.conf file for the root path of your project. Example:

root /var/www

or

root /var/www/public

To recompile when changing Dockerfile (both PHP and Nginx)

docker-compose build 

To start the docker-compose in the background (-d)

docker-compose up -d 

Run composer's commands

docker-compose exec php bash
composer install

To stop docker-compose

docker-compose stop

To stop and exclude docker-compose

docker-compose down

Access port 8000

http://localhost:8000/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published