Closed robov closed 2 years ago
Hi @robov Did you configure env variables?
Yes. I did the following i used buggregator: image: butschster/buggregator:latest ports:
to startup the server
then I installed inside the laravel container composer require --dev symfony/var-dumper
then I added to my laravel app VAR_DUMPER_FORMAT=server VAR_DUMPER_SERVER=127.0.0.1:9912
The in a controller dd('ii');
http://127.0.0.1:23517/ shows the "give me something" screen
When I add MAIL_MAILER=smtp MAIL_HOST=127.0.0.1 MAIL_PORT=1025
and send an email, then I get: Connection could not be established with host "127.0.0.1:1025": stream_socket_client(): Unable to connect to 127.0.0.1:1025 (Connection refused)
Do you run your application in another docker container?
yes, my host contains a application docker and buggretator
I have received an email. I had to make the following changes. Based on your question I realized they were both in a different network. So I had to add the network, and specify the host
MAIL_MAILER=smtp MAIL_HOST=buggregator MAIL_PORT=1025
buggregator: image: butschster/buggregator:latest ports:
and for plain dumper: VAR_DUMPER_SERVER=buggregator:9912
Still struggeling with getting info from ray() I installed ray and publised the config for docker in my application I added the env RAY_HOST=buggregator RAY_PORT=23517 but that also did not work
RAY_HOST=127.0.0.1 # Ray server host RAY_PORT=23517 # Ray server port also does not work
When I look in the docker logs it seems that ray is not runnign buggregator_1 | 2022-07-07 14:08:04,219 INFO success: monolog entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) buggregator_1 | 2022-07-07 14:08:04,219 INFO success: octane entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) buggregator_1 | 2022-07-07 14:08:04,219 INFO success: smtp entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) buggregator_1 | 2022-07-07 14:08:04,219 INFO success: var-dumper entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
Any ideas?
Use internal buggregator port 8000
RAY_HOST=buggregator
RAY_PORT=8000
Awesome !!!
Any ideas for sentry: SENTRY_LARAVEL_DSN=http://sentry@buggregator:23517/1 SENTRY_LARAVEL_DSN=http://sentry@127.0.0.1:23517/1 php artisan sentry:test results in Failed to connect to 127.0.0.1 port 23517: Connection refused for "http://127.0.0.1:23517/api/1/store/"."
use 8000 port insted of 23517 inside docker!
Awesome, I did not realize the 8000 port was generic
Any ideas? I powered up the docker containers as you specified I installed vardumper and ray in my laravel application in the controller I do dd('hello'); ray('hiya'); But when I navigate to http://localhost:23517/ It keeps spinning "Hurry! Give me something. I can't wait to show it." So I guess no events are coming in
Any ideas