adapt role: the image should not be run as root, but with user with id 82.
This commit is contained in:
@@ -73,7 +73,7 @@ services:
|
||||
sleep 3 && bin/console cache:clear &&
|
||||
while ! [ -f /tmp/kill_me ];
|
||||
do
|
||||
su -p -s /bin/bash -c 'php -d memory_limit=2G bin/console messenger:consume priority async --limit=20 --time-limit=600 -v' "www-data";
|
||||
php -d memory_limit=2G bin/console messenger:consume priority async --limit=40 --time-limit=600 -v;
|
||||
done;
|
||||
pre_stop:
|
||||
- command:
|
||||
|
||||
Reference in New Issue
Block a user