Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/marcelosmbrrr/laravel-docker-setup
Laravel setup container
https://github.com/marcelosmbrrr/laravel-docker-setup
docker inertiajs laravel livewire
Last synced: 18 days ago
JSON representation
Laravel setup container
- Host: GitHub
- URL: https://github.com/marcelosmbrrr/laravel-docker-setup
- Owner: Marcelosmbrrr
- License: mit
- Created: 2023-08-02T19:20:34.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-09-13T20:30:39.000Z (3 months ago)
- Last Synced: 2024-09-15T11:28:34.049Z (3 months ago)
- Topics: docker, inertiajs, laravel, livewire
- Language: PHP
- Homepage:
- Size: 223 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# About
This is a container setup for any version of Laravel vanilla, Laravel with Inertia and Livewire.
# Production
1. docker compose up -d
2. docker-compose exec app bash
3. npm install
4. Laravel deployment commands - https://laravel.com/docs/10.x/deployment
5. npm run build
6. Go to localhost:8000
7. Done!# Development
NodeJS can run on local machine for development.
1. docker compose up -d
2. docker-compose exec app bash
3. Laravel deployment commands - https://laravel.com/docs/10.x/deployment
4. exit
5. npm run dev
6. Go to localhost:8000
7. Done!# Errors and solutions:
ERR_CONNECTION_REFUSED
Solution: delete public/hot and rebuild the application