config: Add 1 and update 10 files
All checks were successful
Test and Publish Templates / test-and-publish (push) Successful in 7s

This commit is contained in:
j
2025-12-29 12:59:13 +13:00
parent 2053e78ee0
commit 767d4eb21e
11 changed files with 36 additions and 15 deletions

View File

@@ -13,14 +13,14 @@ export SEAFILE_SERVER_HOSTNAME SEAFILE_SERVER_PROTOCOL TZ
cd "$SCRIPT_DIR" || _die "Failed to change to script directory"
# Stop and remove containers before restore
docker compose down
docker compose -p "${CONTAINER_NAME}" down
# Restore files using dropshell's restore system
# shellcheck disable=SC2046
restore_items $(get_seafile_volumes) || _die "Failed to restore data from backup file"
# Start database container only
docker compose up -d db
docker compose -p "${CONTAINER_NAME}" up -d db
echo "Waiting for database to be ready..."
sleep 10
@@ -36,6 +36,6 @@ else
fi
# Start all containers
docker compose up -d
docker compose -p "${CONTAINER_NAME}" up -d
echo "Restore complete! Service is running."