-
Notifications
You must be signed in to change notification settings - Fork 106
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Domain parameter not defined with supervisor #21
Comments
I have used Docker but I'm not very expert... anyway... Do you mean you use supervisor together with the Laravel schedule:run command? But maybe I totally did not understand your problem. Cheers Giacomo |
I can use domain option only in the worker file (see below). Not in schedule:run command (it used in dockerfile like RUN crontab /etc/crontabs/laravel.cron). Thanks. |
Hi, |
Hi, I'm not sure I understood your question.... however I use my package together with crons and WITHOUT docker in a lot of projects. `
Cheers Giacomo |
Hi, |
Hi.
I use a Docker with worker container and supervisor in it. In worker config file I defined the
command=/usr/local/bin/php /var/www/html/artisan queue:work --sleep=3 --tries=3 --domain=domain.com
. The supervisor defined as ENTRYPOINT in Dockerfile (with worker config).So in detectDomain method the argv parameter don't have the domain key. Therefore, the scheduler always uses the .env config file.
Any ideas?
Thanks.
The text was updated successfully, but these errors were encountered: