frankenphp icon indicating copy to clipboard operation
frankenphp copied to clipboard

Some questions as Im not really understanding how to replace my current nginx php fpm setup

Open brycelarge opened this issue 9 months ago • 0 comments

Hi there,

Thanks for the amazing work, very excited about frankenphp.

I have multiple laravel apps on my server and I have setup the Caddyfile and get all the sites working but now when I want to switch on laravel octane. It seems the frankenphp docker can only handle 1 laravel app and thats done by building your own modification of the docker just to change the ENTRYPOINT to ["php", "artisan", "octane:start"]. Is there something I am missing or is this by desgin that only 1 app per docker? Would be great if the documentation could have an example for multiple laravel apps with octane running.

Im also a little confused about how to use laravel within the frankenphp docker. It would help if the laravel documentation could be updated to include some more basic information:

  1. is the worker used for the laravel scheduler or how would you setup a traditional cron to run laravel scheduler every minute?
  2. Running artisan commands
  3. Changing php.ini for artisan commands vs browser php.ini

Apologies if these questions have been asked before, I did go through all the existing issues but could not find anything that helped me.

Many thanks Bryce

brycelarge avatar May 02 '24 06:05 brycelarge