Set stop_signal for worker to stop Horizon more correct

This commit is contained in:
Christian Winther 2024-01-26 20:15:57 +00:00 committed by Mehdi Benadel
parent 775bab7ffa
commit a67cda2867
1 changed files with 1 additions and 0 deletions

View File

@ -110,6 +110,7 @@ services:
container_name: "${DOCKER_ALL_CONTAINER_NAME_PREFIX}-worker"
command: gosu www-data php artisan horizon
restart: unless-stopped
stop_signal: SIGTERM
profiles:
- ${DOCKER_WORKER_PROFILE:-}
build: