Skip to content

Commit 551d76c

Browse files
committed
formatting
1 parent 8e5d69c commit 551d76c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

octane.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ Next, you should use the `octane:install` Artisan command to install the Franken
7575
./vendor/bin/sail artisan octane:install --server=frankenphp
7676
```
7777

78-
Finally, update the `environment` key of your application's `docker-compose.yml` file so that Sail serves your application using Octane instead of the PHP development server:
78+
Finally, add a `SUPERVISOR_PHP_COMMAND` environment variable to the `laravel.test` service definition in your application's `docker-compose.yml` file. This environment variable will contain the command that Sail will use to serve your application using Octane instead of the PHP development server:
7979

8080
```yaml
8181
services:
@@ -109,7 +109,7 @@ Next, you should start a Sail shell and use the `rr` executable to retrieve the
109109
./vendor/bin/rr get-binary
110110
```
111111

112-
Then, update the `environment` key of your application's `docker-compose.yml` file so that Sail serves your application using Octane instead of the PHP development server:
112+
Then, add a `SUPERVISOR_PHP_COMMAND` environment variable to the `laravel.test` service definition in your application's `docker-compose.yml` file. This environment variable will contain the command that Sail will use to serve your application using Octane instead of the PHP development server:
113113

114114
```yaml
115115
services:
@@ -154,7 +154,7 @@ Using Laravel Octane with Open Swoole grants the same functionality provided by
154154

155155
Alternatively, you may develop your Swoole based Octane application using [Laravel Sail](/docs/{{version}}/sail), the official Docker based development environment for Laravel. Laravel Sail includes the Swoole extension by default. However, you will still need to adjust the `docker-compose.yml` file used by Sail.
156156

157-
To get started, update the `environment` key of your application's `docker-compose.yml` file so that Sail serves your application using Octane instead of the PHP development server:
157+
To get started, add a `SUPERVISOR_PHP_COMMAND` environment variable to the `laravel.test` service definition in your application's `docker-compose.yml` file. This environment variable will contain the command that Sail will use to serve your application using Octane instead of the PHP development server:
158158

159159
```yaml
160160
services:

0 commit comments

Comments
 (0)