Replace GraphQL Unraid MCP with MUA
This commit is contained in:
@@ -107,11 +107,8 @@ tar -xzf "$mcp_archive" -C "$stage/approved" \
|
||||
etc/mike-ai/router-api-key \
|
||||
etc/mike-ai/homeassistant-admin-mcp.env \
|
||||
etc/mike-ai/arr-mcp.env \
|
||||
etc/mike-ai/runraid/.env \
|
||||
etc/mike-ai/runraid/homeserver-cert.pem \
|
||||
etc/mike-ai/keys/unraid_root \
|
||||
etc/mike-ai/ssh/known_hosts_unraid_ai \
|
||||
usr/local/bin/runraid
|
||||
etc/mike-ai/ssh/known_hosts_unraid_ai
|
||||
|
||||
old_router_key=$(<"$stage/approved/etc/mike-ai/router-api-key")
|
||||
[[ -n $old_router_key ]] || die "Router-Key in der Sicherung ist leer."
|
||||
@@ -151,21 +148,15 @@ if [[ -f $INSTALL_CONFIG ]]; then
|
||||
set_env_value "$INSTALL_CONFIG" OPENWEBUI_IMAGE "$REFERENCE_OPENWEBUI_TAG"
|
||||
fi
|
||||
|
||||
install -d -m 0700 "$SECRETS_DIR/runraid" "$SECRETS_DIR/keys" "$SECRETS_DIR/ssh"
|
||||
install -d -m 0700 "$SECRETS_DIR/keys" "$SECRETS_DIR/ssh"
|
||||
install -m 0600 "$stage/approved/etc/mike-ai/homeassistant-admin-mcp.env" \
|
||||
"$SECRETS_DIR/homeassistant-admin-mcp.env"
|
||||
install -m 0600 "$stage/approved/etc/mike-ai/arr-mcp.env" \
|
||||
"$SECRETS_DIR/arr-mcp.env"
|
||||
install -m 0600 "$stage/approved/etc/mike-ai/runraid/.env" \
|
||||
"$SECRETS_DIR/runraid/.env"
|
||||
install -m 0600 "$stage/approved/etc/mike-ai/runraid/homeserver-cert.pem" \
|
||||
"$SECRETS_DIR/runraid/homeserver-cert.pem"
|
||||
install -m 0600 "$stage/approved/etc/mike-ai/keys/unraid_root" \
|
||||
"$SECRETS_DIR/keys/unraid_root"
|
||||
install -m 0600 "$stage/approved/etc/mike-ai/ssh/known_hosts_unraid_ai" \
|
||||
"$SECRETS_DIR/ssh/known_hosts_unraid_ai"
|
||||
install -m 0755 "$stage/approved/usr/local/bin/runraid" /usr/local/bin/runraid
|
||||
|
||||
log "Tool-Container mit der neuen Stackdefinition aktivieren"
|
||||
"$STACK_DIR/platform/mcp/install-tools.sh"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user