From e27f12010aa82141f57f21b5fda9004c96e4075d Mon Sep 17 00:00:00 2001 From: Nuno Maduro Date: Tue, 18 May 2021 16:33:02 +0100 Subject: [PATCH] Fixes default Octane port (#7070) * Fixes default Octane port * Adds "--rpc-port" to RoadRunner supervisor command --- octane.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/octane.md b/octane.md index 15337c5fd2..d6d6d109e7 100644 --- a/octane.md +++ b/octane.md @@ -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: @@ -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: