Skip to content

Docker compose service for Laravel instead Sail. for use this repo you should have docker knowledge.

Notifications You must be signed in to change notification settings

mnr73/laravel-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

Docker compose service for Laravel

if you think Sail is very heavy and slow, you can use this repo instead that.

How to use

Note that for using this repo you should have docker knowledge.

Clone this repo and run.

bash build.bash [directory-name | .]

Note dont use sudo for this command

use . for current directory. if use dot ensure that current directory is empty

and then go to root directory and run docker compose up

Note: if your Os is windows you should use this repo or any other docker base project in WSL (Linux) directory.

witch version?

this repo support laravel 9 and php 8.1 for now. but higher versions add soon.

use artisan commands

for using artisan command you should enter the Laravel container by this command.

docker exec -it -u www-data [container ID or Name] bash

About

Docker compose service for Laravel instead Sail. for use this repo you should have docker knowledge.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages