Closed jasperf closed 3 years ago
Seems old cron.yml was deployments/phpworker.yml
to renamed it and moved it to deployments. But needs checking. Not sure if we should run the schedule command here to start things up.
We do have
#
#--------------------------------------------------------------------------
# Optional Supervisord Configuration
#--------------------------------------------------------------------------
#
# Modify the ./supervisor.conf file to match your App's requirements.
# Make sure you rebuild your container with every change.
#
COPY supervisord.conf /etc/supervisord.conf
ENTRYPOINT ["/usr/bin/supervisord", "-n", "-c", "/etc/supervisord.conf"]
in php worker image Dockerfile already so perhaps command: ["/usr/local/bin/php", "artisan", "schedule:run"]
not needed, but this needs checking.
Close this issue as PHP Worker deployment had been located. We will test to see if all works together in the coming days.
PHP Worker missing in deployment. See image at https://github.com/smart48/smt-php-worker . Needs to be added to DO
/deployments/web.yml
and to local setup/local/deployment.yml