fix: rolling updates & lowers verbosity of worker process
This commit is contained in:
@@ -22,7 +22,7 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- ./:/var/www
|
- ./:/var/www
|
||||||
- ./var/download:/var/download
|
- ./var/download:/var/download
|
||||||
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
|
||||||
|
|
||||||
database:
|
database:
|
||||||
image: mariadb:10.11.2
|
image: mariadb:10.11.2
|
||||||
|
|||||||
@@ -3,11 +3,13 @@ services:
|
|||||||
image: registry.caldwell.digital/home/torsearch/app:${TAG}
|
image: registry.caldwell.digital/home/torsearch/app:${TAG}
|
||||||
ports:
|
ports:
|
||||||
- "8001:80"
|
- "8001:80"
|
||||||
|
deploy:
|
||||||
|
replicas: 2
|
||||||
|
|
||||||
worker:
|
worker:
|
||||||
image: registry.caldwell.digital/home/torsearch/app:${TAG}
|
image: registry.caldwell.digital/home/torsearch/app:${TAG}
|
||||||
volumes:
|
volumes:
|
||||||
- /mnt/media/downloads:/dl
|
- /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:
|
deploy:
|
||||||
replicas: 2
|
replicas: 2
|
||||||
Reference in New Issue
Block a user