Skip to content

Image created to run projects in Laravel with access to SQL Server database and generation of PDF

Notifications You must be signed in to change notification settings

LucasBRamos/laravel-sqlsrv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Supported tags and respective Dockerfile links

Running Containers

To create the container, copy the code below and paste it into your docker-compose.yml.

The container has already been configured to recognize Laravel's public folder, so just copy the root folder of your project to the /var/www folder of the container and your project already will be running.

version: '3'

services:
	app:
	    image: lucasramos/laravel-sqlsrv:1.0.0
	    container_name: container_name
	    network_mode: "bridge"
	    volumes:
	      - .:/var/www/
	    ports:
	      - "80:80"

References

For the image configuration, I used the Dockerfile project gjuniioor/php-sqlsrv and adapted it according to my needs to run the project Laravel.

Changelog

  • 1.0.0 - First version that allows to run Laravel project with connection to SQL Server database and generation of PDFs using the tool wkhtmltopdf

Bugs, Questions and Contribution

Has a bug found? Please, open a Issue, a Pull Request or contact me: @LucasBRamos.

About

Image created to run projects in Laravel with access to SQL Server database and generation of PDF

Resources

Stars

Watchers

Forks

Packages

No packages published