Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mnr73/laravel-docker

Docker compose service for Laravel instead Sail. for use this repo you should have docker knowledge.
https://github.com/mnr73/laravel-docker

docker laravel php sail

Last synced: about 1 month ago
JSON representation

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

Awesome Lists containing this project

README

        

# 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`