Skip to content

Commit

Permalink
Fixes default Octane port (#7070)
Browse files Browse the repository at this point in the history
* Fixes default Octane port

* Adds "--rpc-port" to RoadRunner supervisor command
  • Loading branch information
nunomaduro authored May 18, 2021
1 parent 4ff7bfc commit e27f120
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions octane.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ After installing the RoadRunner binary, you may exit your Sail shell session. Yo
Next, update the `command` directive of your application's `docker/supervisord.conf` file so that Sail serves your application using Octane instead of the PHP development server:

```ini
command=/usr/bin/php -d variables_order=EGPCS /var/www/html/artisan octane:start --server=roadrunner --host=0.0.0.0 --port=80
command=/usr/bin/php -d variables_order=EGPCS /var/www/html/artisan octane:start --server=roadrunner --host=0.0.0.0 --rpc-port=6001 --port=8000
```

Finally, ensure the `rr` binary is executable and build your Sail images:
Expand Down Expand Up @@ -116,7 +116,7 @@ Alternatively, you may develop your Swoole based Octane application using [Larav
Next, update the `command` directive of your application's `docker/supervisord.conf` file so that Sail serves your application using Octane instead of the PHP development server:

```ini
command=/usr/bin/php -d variables_order=EGPCS /var/www/html/artisan octane:start --server=swoole --host=0.0.0.0 --port=80
command=/usr/bin/php -d variables_order=EGPCS /var/www/html/artisan octane:start --server=swoole --host=0.0.0.0 --port=8000
```

Finally, build your Sail images:
Expand Down

0 comments on commit e27f120

Please sign in to comment.