Skip to content

Dockerfile config to create a Docker image ready to deploy a Laravel App and connect to Microsoft Sql Server 2008/2012

Notifications You must be signed in to change notification settings

difrancosimone/LaraD-SQLSrv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 

Repository files navigation

LaraD-SQLSrv

Dockerfile config to create a Docker image based on Debian Jassie ready to deploy a Laravel App and connect to Microsoft Sql Server 2008/2012

Build And Run container on Widows as follow:

docker build -f Dockerfile-PHP56 -t larad-sqlsrv:dev .
docker run -v //c/Development/app:/var/www -v //c/Development/apache/000-default.conf:/etc/apache2/sites-available/000-default.conf -p 80:80 LaraD-SQLsrv:dev

Build And Run container on Lunux/Mac as follow:

docker build -f Dockerfile-PHP56 -t larad-sqlsrv:dev .
docker run -v Development/app:/var/www -v Development/apache/000-default.conf:/etc/apache2/sites-available/000-default.conf -p 80:80 larad-sqlsrv:dev

Point your browser to http://localhost

*CORS enabled in Apache

Docker image is already on Docker Hub https://hub.docker.com/r/simodifra/larad-sqlsrv/

you can run directly without build it.

About

Dockerfile config to create a Docker image ready to deploy a Laravel App and connect to Microsoft Sql Server 2008/2012

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published