App workflow Gitea + Docker workloads

Deploy Gitea for a small development team

Confirm current template, SSH/domain requirements, and repository backup approach. Check the named site's prerequisites, task result, backup scope and recovery handoff with xCloud.

Read this guide as Markdown

Requirements and responsibilities

Illustrative situation

A five-person development team wants private repositories in Gitea. The owner needs a tested push path and consistent backup of repository files and database.

Choose the approach

Dashboard and application procedure

Follow these steps yourself, or use the scoped AI handoff below for supported hosting operations.

Step 1 of 5

Define repository access

Where
Development team and Gitea docs
Permissions
Authorized xCloud read access to the named team and site; the relevant app or provider owner supplies records outside xCloud.
Inputs
Users, organizations, SSH policy, hostname
Action
Decide who creates repos, who can push and whether private repos are the default. Choose an HTTPS or SSH access method.
Expected result
An access map for the first project.
Verify
Have a developer and viewer confirm expected rights.
If it fails
If public repositories are prohibited, set policy before adding real code.

Sources: xCloud MCP documentation and connection profiles · xCloud agent capability boundaries · Gitea backup and restore

Step 2 of 5

Check hosting and storage

Where
xCloud One-Click Apps catalog
Permissions
Authorized xCloud read access to the named team and site; the relevant app or provider owner supplies records outside xCloud.
Inputs
Gitea template, server, disk, data path
Action
Confirm the template and persistent database/repository paths, then choose a compatible Docker + NGINX server and stable hostname.
Expected result
A deployable target with adequate storage.
Verify
Inspect current template requirements and free disk.
If it fails
If repository or database path lies outside protected storage, revise backup plan.

Sources: xCloud MCP documentation and connection profiles · xCloud agent capability boundaries · Gitea backup and restore

Step 3 of 5

Deploy the Gitea host

Where
xCloud dashboard → One-Click Apps
Permissions
Authorized xCloud site owner with dashboard rights for the exact setting, backup, staging or restore action and a reviewed target.
Inputs
Approved xCloud site, hostname and protected first-run administrator handoff
Action
Install through the supported dashboard path and record the Gitea first-run URL, persistent storage and generated credential handoff.
Expected result
A reachable Gitea host ready for protected application setup.
Verify
Confirm the xCloud site and hostname match the approved deployment, then verify that the expected protected first-run page is reachable.
If it fails
If the hostname, certificate or first-run page is wrong, stop application setup and resolve the hosting or access issue before entering credentials.

Sources: xCloud One Click Apps catalog · xCloud agent capability boundaries

Step 4 of 5

Exercise Git permissions

Where
Developer terminal and Gitea UI
Permissions
Authorized Gitea application administrator or delegated role with rights for this task; hosting access alone is insufficient.
Inputs
Test key/token, branch and sample commit
Action
Complete Gitea administrator setup, create a private test repository and limited users. Clone, push a harmless commit, pull as another permitted user and verify a viewer cannot push.
Expected result
Git operations match intended rights.
Verify
Compare the commit hash in the local clone and Gitea web view. Verify signed-out users cannot browse the private test repository and a viewer cannot push.
If it fails
If repository access is public unexpectedly, correct application settings before importing code. If SSH fails but web login works, inspect key and network configuration separately.

Sources: Gitea backup and restore · Gitea repository and organization permissions

Step 5 of 5

Secure consistent recovery

Where
Gitea backup guidance and xCloud Docker Backup
Permissions
Authorized xCloud team/site operator with the discovered write scope for this exact operation and owner approval for its target and interruption.
Inputs
Database, repositories, attachments, config, maintenance window
Action
Identify all Gitea state. Schedule a short interruption for a consistent app-level dump or validate xCloud's stopped-app snapshot, then test restoration on an isolated instance.
Expected result
A recovery method covering Git and database together.
Verify
Check restored commit and user/repo metadata.
If it fails
If repository files and DB disagree, do not reopen pushes until a consistent point is restored.

Sources: Back up and restore Docker apps · Docker backup operations and storage constraints · Gitea backup and restore

Maintenance

Recovery decisions

AI handoff

Connect an authorized xCloud MCP profile and discover its exact tools and team scope. The packaged REST wrapper is GET-only; use dashboard or app controls for undocumented writes.

Supported scope

  • Confirm requirements and inspect resources mcp · read

    Discover the connected profile and operation schema first; only teams granted to the connection are visible.

    Checkpoint: Confirm exact team, server and site identity. Use dashboard_url returned by the resource; do not invent a dashboard link.

    Operation identifiers and scopes to discover

    teams.index, servers.show, sites.show

    Scopes: read:servers, read:sites

    xCloud MCP documentation and connection profiles · xCloud agent capability boundaries

Copyable agent brief

Manual checkpoints

  • Approve exact site, target, cost and any write or maintenance window after inspecting the proposed plan.
  • An authorized Gitea administrator must configure and test app users, content, integrations and business rules in the app.
  • Native WordPress staging, backup schedule/settings, push/pull and all restores are dashboard-only; Docker restore is dashboard-only and replaces state.
  • Reconcile data created after the chosen recovery point before any destructive restore.
Feature coverage

Sources

Continue

Explore all use cases