Laravel queue container fails to connect to database host [v3.4.5] #493
Replies: 1 comment
-
Right after posting this I found out it's a Portainer issue. Evening lost for nothing but not related to SSU. Thanks for the great work! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Follow-up on #479
App Info
Laravel 11.30
PHP 8.3
Steps To Reproduce
prod.ERROR: SQLSTATE[HY000] [2002] No route to host {"exception":"[object] (PDOException(code: 2002)
Container
https://serversideup.net/open-source/docker-php/docs/laravel/laravel-queue
same working dir and image as PHP & TASK.
Added parameters
command: ["php", "/var/www/html/artisan", "queue:work", "--max-time=3600", "--tries=3"]
Has anyone had similar problems?
Beta Was this translation helpful? Give feedback.
All reactions