laravel / reverb

Laravel Reverb provides a real-time WebSocket communication backend for Laravel applications.
https://reverb.laravel.com
MIT License
1.07k stars 82 forks source link

Laravel Reverb with Octane #192

Closed sibalonat closed 4 months ago

sibalonat commented 4 months ago

I have created a new project in my wsl environment. I thought to try and use Octane + FrankenPhp and Reverb since it there was a lot of discussion about it. My configuration so far is: Laravel using docker octane and frankenphp. in the supervisor, i run these two commands, among the commands for the serve: `[program:octane] command=/usr/bin/php -d variables_order=EGPCS /var/www/html/artisan octane:start --host=localhost --port=443 --admin-port=2019 --https user=root environment=LARAVEL_SAIL="1" stdout_logfile=/dev/stdout stdout_logfile_maxbytes=0 stderr_logfile=/dev/stderr stderr_logfile_maxbytes=0

[program:reverb] command=php /var/www/html/artisan reverb:start autostart=true autorestart=true user=%(ENV_SUPERVISOR_PHP_USER)s redirect_stderr=true minfds=10000 stdout_logfile=/var/www/html/storage/logs/reverb.log`

my env file i have this, also with the connection to reverb: REVERB_APP_ID=secret REVERB_APP_KEY=secret REVERB_APP_SECRET=secret REVERB_HOST="localhost" REVERB_PORT=8080 REVERB_SCHEME=http

And docker: laravel.test: build: context: ./docker/8.3 dockerfile: Dockerfile args: WWWGROUP: '${WWWGROUP}' image: sail-8.3/app extra_hosts:

driesvints commented 4 months ago

Hi there,

Thanks for reporting but it looks like this is a question which can be asked on a support channel. Please only use this issue tracker for reporting bugs with the library itself. If you have a question on how to use functionality provided by this repo you can try one of the following channels:

However, this issue will not be locked and everyone is still free to discuss solutions to your problem!

Thanks.