mirror of
git://git.yoctoproject.org/layerindex-web.git
synced 2025-07-05 05:04:46 +02:00
docker-compose: fix celery
In celery 5, the --workdir argument must come before the 'worker' subcommand. Without this, celery cannot load the layerindex module and this causes the celery container to continually restart. Signed-off-by: Tim Orling <tim.orling@konsulko.com>
This commit is contained in:
parent
67679306b0
commit
f1dbcde4c4
|
@ -80,7 +80,7 @@ services:
|
|||
#- "EMAIL_USE_TLS=<set this here if needed>"
|
||||
#- "DEBUG=1"
|
||||
restart: unless-stopped
|
||||
command: /usr/local/bin/celery -A layerindex.tasks worker --loglevel=info --workdir=/opt/layerindex
|
||||
command: /usr/local/bin/celery --workdir=/opt/layerindex --app layerindex.tasks worker --loglevel=INFO
|
||||
#layerscertbot:
|
||||
# image: certbot/certbot
|
||||
# volumes:
|
||||
|
|
Loading…
Reference in New Issue
Block a user