feat: remove horizon
This commit is contained in:
@@ -20,7 +20,7 @@ if [ "$confirmation" != "$confirmation_phrase" ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
docker compose -f "$compose_file" stop app horizon scheduler db-backup
|
||||
docker compose -f "$compose_file" stop app worker scheduler db-backup
|
||||
|
||||
if ! RESTORE_CONFIRM="$confirmation_phrase" docker compose \
|
||||
-f "$compose_file" \
|
||||
@@ -32,6 +32,6 @@ then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
docker compose -f "$compose_file" up -d app horizon scheduler db-backup
|
||||
docker compose -f "$compose_file" up -d app worker scheduler db-backup
|
||||
|
||||
echo "Application restarted after database restoration."
|
||||
|
||||
@@ -3,7 +3,7 @@ set -eu
|
||||
|
||||
cd /app
|
||||
|
||||
# Allow Docker Compose services such as Horizon and the scheduler to override
|
||||
# Allow Docker Compose services such as the queue worker and scheduler to override
|
||||
# the default FrankenPHP process with their own command.
|
||||
if [ "$#" -gt 0 ]; then
|
||||
exec "$@"
|
||||
|
||||
Reference in New Issue
Block a user