We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1517ea8 commit d8092f7Copy full SHA for d8092f7
containers/php/entrypoint.sh
@@ -29,14 +29,17 @@ if [ "$1" = "php-fpm" ]; then
29
exec "$@"
30
elif [ "$1" = "scheduler" ]; then
31
wait_for_php_fpm
32
+ wait_for_redis
33
optimize
34
exec su -s /bin/sh -c "php artisan schedule:work --quiet" www-data
35
elif [ "$1" = "worker" ]; then
36
37
38
39
exec su -s /bin/sh -c "php artisan queue:work --tries=3 --timeout=1800" www-data
40
elif [ "$1" = "nightwatch" ]; then
41
42
43
44
exec su -s /bin/sh -c "php artisan nightwatch:agent --listen-on 0.0.0.0:2407" www-data
45
else
0 commit comments