Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/mnr73/laravel-docker
- Owner: mnr73
- Created: 2023-02-07T14:23:23.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-01-11T16:38:54.000Z (12 months ago)
- Last Synced: 2024-01-12T01:22:05.411Z (12 months ago)
- Topics: docker, laravel, php, sail
- Language: Shell
- Homepage:
- Size: 36.1 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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`