Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions sail.md
Original file line number Diff line number Diff line change
Expand Up @@ -303,3 +303,24 @@ After running this command, the Dockerfiles and other configuration files used b
```bash
sail build --no-cache
```


You can also customize some configurations for Laravel Sail directly in your `.env` file. Here are some of the configuration keys you can use:


```
...

# Change the default HTTP port
APP_PORT=8080

# Change the default mysql port
FORWARD_DB_PORT=30661

# Change the default Redis port
FORWARD_REDIS_PORT=63791

...
```

You should look through the `docker-compose.yml` file for the other configuration keys available. Remember to run the `sail build --no-cache` command after you make your changes.