This repository has been archived by the owner on Feb 7, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 637
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
--- | ||
title: Laravel Sail | ||
order: 5 | ||
--- | ||
|
||
# Run in Laravel Sail | ||
|
||
To be able to use Laravel Websockets in Sail, you should just forward the port: | ||
|
||
```yaml | ||
# For more information: https://laravel.com/docs/sail | ||
version: '3' | ||
services: | ||
laravel.test: | ||
build: | ||
context: ./vendor/laravel/sail/runtimes/8.0 | ||
dockerfile: Dockerfile | ||
args: | ||
WWWGROUP: '${WWWGROUP}' | ||
image: sail-8.0/app | ||
ports: | ||
- '${APP_PORT:-80}:80' | ||
- '${LARAVEL_WEBSOCKETS_PORT:-6001}:${LARAVEL_WEBSOCKETS_PORT:-6001}' | ||
``` |