fix(staging): correct command names for scheduler and queue-worker
All checks were successful
Test Runner / test-basic (push) Successful in 8s
Test Runner / test-php (push) Successful in 8s
Deploy Application / deploy (push) Successful in 1m43s

- scheduler: scheduler:run → schedule:run (correct console command)
- queue-worker: console.php queue:work → worker.php (standalone script)
This commit is contained in:
2025-11-25 23:29:31 +01:00
parent 7f7029ae2a
commit 386baff65f

View File

@@ -414,7 +414,7 @@ services:
- app-logs:/var/www/html/storage/logs
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
command: php console.php queue:work --queue=default --timeout=${QUEUE_WORKER_TIMEOUT:-60}
command: php worker.php
healthcheck:
test: ["CMD-SHELL", "php -r 'exit(0);' && test -f /var/www/html/console.php || exit 1"]
interval: 60s
@@ -464,7 +464,7 @@ services:
- app-logs:/var/www/html/storage/logs
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
command: php console.php scheduler:run
command: php console.php schedule:run
healthcheck:
test: ["CMD-SHELL", "php -r 'exit(0);' && test -f /var/www/html/console.php || exit 1"]
interval: 60s