zeabur-service-expose
Zeabur Service Expose
Always use
npx zeabur@latestto invoke Zeabur CLI. Never usezeaburdirectly or any other installation method. Ifnpxis not available, install Node.js first.
Temporarily expose a service with a public URL. The exposure lasts 3600 seconds (1 hour) by default. Useful for quick testing, webhook callbacks, or sharing a preview without setting up a domain.
Usage
npx zeabur@latest service expose --id <service-id> --env-id <env-id> -i=false
Flags
| Flag | Description |
|---|---|
--id |
Service ID |
-n, --name |
Service name (prefer --id) |
--env-id |
Environment ID (required in non-interactive mode) |
Getting the Environment ID
The expose command requires --env-id. Get it from service details:
npx zeabur@latest service get --id <service-id> -i=false --json
When to Use
- Testing webhook integrations that need a public callback URL
- Sharing a quick preview with teammates
- Debugging connectivity from external services
For permanent public access, set up a domain instead (zeabur-domain-url).
See Also
zeabur-service-list— find service IDszeabur-domain-url— set up permanent domains
More from zeabur/zeabur-claude-plugin
zeabur-deployment-logs
Use when viewing service runtime or build logs. Use when user says "show logs", "why did deploy fail", "check build output", or "debug runtime error".
56zeabur-restart
Use when restarting a Zeabur service. Use when user says "restart", "reboot service", or "service is stuck/frozen".
55zeabur-template
Use when creating, editing, validating, or troubleshooting a Zeabur template YAML. Use when converting docker-compose to Zeabur template. Do NOT use for deploying templates (use zeabur-template-deploy instead).
54zeabur-domain-url
Use when services need public URL for redirects or CORS. Use when WEB_URL or similar has trailing slash issues. Use when user reports "redirect goes to wrong URL", "CORS error", or "trailing slash problem". Also use when user says "add domain", "set up domain", "bind domain", "create domain", or "manage domains" for a Zeabur service.
53zeabur-variables
Use for ALL Zeabur environment variable operations — create, list, update, delete, or troubleshoot. Use when user says "set env var", "add variable", "create variable", "update variable", "delete variable", "change env var", or "why is my variable empty". Also use when variables are empty or SERVICE_NOT_FOUND errors.
52zeabur-update-service
Use when modifying service config without full redeploy. Use when updating env vars and restarting single service. Use when user says "change env var", "update config", "fix variable without redeploying", "upgrade service version", "update image tag", or "change service tag".
50