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
parent d2ed117d3f
commit d372b9dee7

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: