Update 34 files
All checks were successful
Test and Publish Templates / test-and-publish (push) Successful in 9s

This commit is contained in:
j
2026-02-27 10:17:38 +13:00
parent 266b90e281
commit e1e711fc9c
34 changed files with 45 additions and 45 deletions

View File

@@ -11,14 +11,14 @@ export CONTAINER_NAME DATA_PATH HTTP_PORT PUID PGID TZ IMAGE_TAG DB_NAME DB_USER
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_wikijs_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 5
@@ -38,6 +38,6 @@ else
fi
# Start all containers
docker compose up -d
docker compose -p "${CONTAINER_NAME}" up -d
echo "Restore complete! Service is running."