diff --git a/sail.md b/sail.md index 82aa93ba923..102f35ce962 100644 --- a/sail.md +++ b/sail.md @@ -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.