Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Feb 7, 2024. It is now read-only.

Commit 02cfcc4

Browse files
Added sail documentation
1 parent 0e2ff5f commit 02cfcc4

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

‎docs/basic-usage/sail.md‎

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
title: Laravel Sail
3+
order: 5
4+
---
5+
6+
# Run in Laravel Sail
7+
8+
To be able to use Laravel Websockets in Sail, you should just forward the port:
9+
10+
```yaml
11+
# For more information: https://laravel.com/docs/sail
12+
version: '3'
13+
services:
14+
laravel.test:
15+
build:
16+
context: ./vendor/laravel/sail/runtimes/8.0
17+
dockerfile: Dockerfile
18+
args:
19+
WWWGROUP: '${WWWGROUP}'
20+
image: sail-8.0/app
21+
ports:
22+
- '${APP_PORT:-80}:80'
23+
- '${LARAVEL_WEBSOCKETS_PORT:-6001}:${LARAVEL_WEBSOCKETS_PORT:-6001}'
24+
```

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /