Skip to content
This repository has been archived by the owner on Feb 7, 2024. It is now read-only.

Commit

Permalink
Added sail documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
rennokki authored Apr 19, 2021
1 parent 0e2ff5f commit 02cfcc4
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions docs/basic-usage/sail.md
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}'
```

0 comments on commit 02cfcc4

Please sign in to comment.