Skip to content

docs: add Zeabur one-click deployment guide#217

Open
faithleysath wants to merge 1 commit intotiann:mainfrom
faithleysath:add-zeabur-deployment
Open

docs: add Zeabur one-click deployment guide#217
faithleysath wants to merge 1 commit intotiann:mainfrom
faithleysath:add-zeabur-deployment

Conversation

@faithleysath
Copy link

Summary

This PR adds documentation for deploying HAPI Hub on Zeabur with one-click deployment.

Changes

  • Add Zeabur as a deployment option in the Hub setup section
  • Include step-by-step deployment instructions
  • Document required environment variables (PUBLIC_DOMAIN, TELEGRAM_BOT_TOKEN)
  • Add CLI connection instructions for Zeabur-deployed hubs

Motivation

Zeabur provides a simple way to deploy HAPI with:

  • Automatic SSL certificates
  • Free domain (zeabur.app)
  • One-click deployment experience
  • Optional Telegram integration

This makes it easy for users to deploy a publicly accessible HAPI hub without managing servers.


Closes #216

Add documentation for deploying HAPI Hub on Zeabur with one-click deployment.
Includes setup steps, environment variables, and Telegram integration instructions.

Closes tiann#216

via [HAPI](https://hapi.run)

Co-Authored-By: HAPI <noreply@hapi.run>

1. Click [One-Click Deploy](https://zeabur.com/templates/7L445I) to create the service
2. Configure the required environment variables:
- `PUBLIC_DOMAIN` - Your desired domain (a free `zeabur.app` domain is provided)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[MAJOR] Docs correctness: wrong env var name

Why this is a problem: PUBLIC_DOMAIN is not read by the hub; the documented env var for public URL is HAPI_PUBLIC_URL, so following these steps leaves the hub unaware of its public URL.

Suggested fix:

-   - `PUBLIC_DOMAIN` - Your desired domain (a free `zeabur.app` domain is provided)
+   - `HAPI_PUBLIC_URL` - Public URL for external access (use your `zeabur.app` domain)

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Findings

  • [Major] Wrong env var name for public URL — PUBLIC_DOMAIN is not read by the hub; HAPI_PUBLIC_URL is the supported env var, so the steps as written won't configure the public URL. Evidence docs/guide/installation.md:149
    Suggested fix:
    -   - `PUBLIC_DOMAIN` - Your desired domain (a free `zeabur.app` domain is provided)
    +   - `HAPI_PUBLIC_URL` - Public URL for external access (use your `zeabur.app` domain)

Summary

  • One docs correctness issue: wrong env var name for public URL.

Testing

  • Not run (automation)

HAPI Bot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Zeabur平台一键部署hapi hub服务

1 participant