Skip to content

Domain parameter not defined with supervisor #21

Closed
@nechin

Description

@nechin

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions