跳转到内容

Deploy on Render

此内容尚不支持你的语言。

Deploy the public OpenMA image in your own Render workspace, or use the checked-in render.yaml Blueprint.

Deploy from the dashboard (Existing Image)

Section titled “Deploy from the dashboard (Existing Image)”
  1. Open the Render dashboard.
  2. Choose New → Web Service → Existing Image.
  3. Use ghcr.io/openma-ai/open-managed-agents:edge, or an audited published digest. edge is a development channel. Public image pulls require no GitHub credentials.
  4. Select your region and a paid compute plan; keep one instance for SQLite.
  5. Add a 10 GB persistent disk mounted at /app/data and health path /health.
  6. Configure the following environment variables directly in Render:
KeyValue
OPENMA_PROCESS_MODEstandalone
HOST0.0.0.0
PORT8787
DATABASE_PATH/app/data/oma.db
AUTH_DATABASE_PATH/app/data/auth.db
SANDBOX_WORKDIR/app/data/sandboxes
MEMORY_BLOB_DIR/app/data/memory-blobs
FILES_BLOB_DIR/app/data/files-blobs
SESSION_OUTPUTS_DIR/app/data/session-outputs
BETTER_AUTH_SECRETGenerate a random secret
PLATFORM_ROOT_SECRETGenerate another independent random secret
SANDBOX_PROVIDERe2b, daytona, boxrun, or sprites

Also add the selected provider’s credential (E2B_API_KEY, DAYTONA_API_KEY, BOXRUN_URL, or SPRITES_TOKEN). Set the Docker command to:

Terminal window
bash /app/apps/main-node/scripts/start-render.sh

Review costs and deploy. Once /health passes, open the service URL, create an OpenMA account and add a Model Card. For a custom domain set PUBLIC_BASE_URL and GATEWAY_ORIGIN to its HTTPS origin.

Deploy from source (render.yaml Blueprint)

Section titled “Deploy from source (render.yaml Blueprint)”

Developers modifying OpenMA can also use the repository’s render.yaml Blueprint, which builds apps/main-node/Dockerfile from source, attaches a 10 GB persistent disk at /app/data, generates BETTER_AUTH_SECRET and PLATFORM_ROOT_SECRET, and starts the service via apps/main-node/scripts/start-render.sh.

See Render image deployment and Blueprint Specification for platform requirements.