config: Add 1 and update 10 files
All checks were successful
Test and Publish Templates / test-and-publish (push) Successful in 7s
All checks were successful
Test and Publish Templates / test-and-publish (push) Successful in 7s
This commit is contained in:
@@ -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."
|
||||
|
||||
Reference in New Issue
Block a user