fix: rolling updates & lowers verbosity of worker process

This commit is contained in:
2025-04-23 22:06:44 -05:00
parent 35718958ee
commit 5c5937d01f
2 changed files with 4 additions and 2 deletions

View File

@@ -3,11 +3,13 @@ services:
image: registry.caldwell.digital/home/torsearch/app:${TAG}
ports:
- "8001:80"
deploy:
replicas: 2
worker:
image: registry.caldwell.digital/home/torsearch/app:${TAG}
volumes:
- /mnt/media/downloads:/dl
command: php ./bin/console messenger:consume async -vvv --time-limit=3600 --limit=10
command: php ./bin/console messenger:consume async -v --time-limit=3600 --limit=10
deploy:
replicas: 2