Comment on page
Octane / High-perf mode
In short, it is like how we run "php artisan queue:work" or "node index.js". The application will be loaded into the memory, one-time bootstrap in startup,...
To run DocKing in Octane mode, you need to run this command:
php artisan octane:start
If you haven't installed RoadRunner, Laravel will ask your permission to automatically download the latest binary inside the root project folder, then run.
To keep the command running for production usage, there are multiple ways to do so. We suggest using
supervisorto manage so that we can keep 2 things under 1 basket: queue & octane.
command=php /var/www/html/artisan octane:start --max-requests=500
And then just hit these commands and you are good to go:
sudo supervisorctl reread
sudo supervisorctl update
sudo supervisorctl start docking-octane:*
Also it is recommended to use
reverse proxyto serve the application, check out this for the sample