本機 Docker 部署

執行受支援的本機服務堆疊以進行評估與整合測試。

受支援的本機 Docker 服務堆疊會一起執行 Gateway、Web、Identity、PostgreSQL、Redis 與物件儲存。舊的 SQLite 單一映像設定已退役,因為目前的 Gateway 需要 PostgreSQL。

Start the Minimal Profile

From a checked-out repository:

bash
bun run docker:up

The gateway listens on http://127.0.0.1:8877. Wait for the container health check before sending requests.

Health Checks

bash
curl http://127.0.0.1:8877/healthz
curl http://127.0.0.1:8877/readyz

Data and Credentials

  • PostgreSQL、Redis 與物件儲存資料會保存在具名 Docker volume 中。
  • The example compose file contains development-only bootstrap credentials.
  • Replace every bootstrap secret before sharing the environment.
  • Do not expose this profile directly to the public internet.

Production Boundary

The minimal profile is not the production topology. Production deployment requires external PostgreSQL, Redis, managed secrets, object storage, dedicated Web and Identity services, TLS ingress, migrations, backups, and rollback evidence. Contact support before planning a self-hosted production rollout.

Stop the profile without deleting its volume:

bash
bun run docker:down