Skip to content

en deploy astrbot compshare

github-actions[bot] edited this page Sep 15, 2026 · 3 revisions

Deploy via Compshare

Compshare is UCloud's GPU compute rental and LLM API platform, offering compute resources for AI, deep learning, and scientific workloads.

AstrBot provides an Ollama + AstrBot one-click self-deployment image on Compshare, and also supports Compshare model APIs.

Use the Ollama + AstrBot One-Click Image

Default image spec: RTX 3090 24GB + Intel 16-core + 64GB RAM + 200GB system disk. Billing is pay-as-you-go, so please monitor your balance.

  1. Register a Compshare account via this link.
  2. Open the AstrBot image page and create an instance.
  3. After deployment, open JupyterLab from the console.
  4. In JupyterLab, create a new terminal and run:
cd
./astrbot_booter.sh

If startup succeeds, you should see output similar to:

(py312) root@f8396035c96d:/workspace# cd
./astrbot_booter.sh
Starting AstrBot...
Starting ollama...
Both services started in the background.

After startup, open http://<instance-public-ip>:6185 in your browser to access the AstrBot dashboard. You can find the public IP in Console -> Basic Network (Public).

It may take around 30 seconds before the page becomes reachable.

Use the random password printed in startup logs for first-time login, and use the username shown in the logs (usually astrbot). Change it immediately after login.

After logging in, you can reset your password and continue setup.

The instance imports Ollama-DeepSeek-R1-32B by default.

Use Other Models

Pull Models with Ollama

The image includes Ollama. You can pull any model and host it locally on the instance.

  1. Choose a model from Ollama Search.
  2. Connect to the instance terminal via SSH (from Compshare Console -> Instance List -> Console Command and Password).
  3. Run ollama pull <model-name> and wait for completion.
  4. Open Providers → Chat Completion, select the preconfigured Ollama source, click Fetch Model List, and click + beside the model you just pulled. If no source is preconfigured, click Add, select Ollama, enter the instance's Ollama URL, and click Save and Fetch Models.

Use Compshare Model API

AstrBot supports direct access to model APIs provided by Compshare.

  1. Find the model you want at Compshare Model Center.
  2. Open Providers → Chat Completion → Add, select OpenAI Compatible, enter your Compshare API key, and set API Base URL to https://api.modelverse.cn/v1.
  3. Click Save and Fetch Models, then click + beside the model you want. If the API returns no model list, click Save Configuration, then Custom Model, and enter the exact model ID supplied by Compshare.

Test

Click Test Model on the configured model to check connectivity. Then open Config, select the profile used by your bot, choose the new model under AI → Model → Chat Model, and click Save Configuration.

Use the chat switch in the WebUI header or send a message to the bot on its connected messaging platform to test a reply.

Connect to Messaging Platforms

You can follow the latest platform integration guides in the AstrBot Documentation. Open the docs and check the left sidebar under Messaging Platforms.

More Features

For more capabilities, see the AstrBot Documentation.

Chinese

English

Clone this wiki locally