mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-10-30 04:15:45 +08:00
* 重构文档结构:移除 docs 目录,调整文件组织结构 * Reorder "插件 SDK API" section in docs.json * Refactor and clarify various documentation sections * Refine warnings and info boxes across multiple docs * Refactor and simplify Japanese documentation content * Update package.json to include mintlify as a dependency and add pnpm-lock.yaml for dependency management * Update blog link and add description in docs.json --------- Co-authored-by: Junyan Chin <[email protected]>
35 lines
1.0 KiB
Plaintext
35 lines
1.0 KiB
Plaintext
---
|
|
title: "Dockerデプロイ"
|
|
---
|
|
|
|
<Warning title="まず以下について学習することをお勧めします:">
|
|
|
|
- `Docker`と`Docker Compose`の使用方法
|
|
- Dockerコンテナネットワーク通信の設定方法
|
|
</Warning>
|
|
|
|
<Info>
|
|
- Git、Docker、Docker Composeがインストールされていることを確認してください
|
|
</Info>
|
|
|
|
プロジェクトをクローンします:
|
|
|
|
```bash
|
|
git clone https://github.com/langbot-app/LangBot
|
|
cd LangBot/docker
|
|
```
|
|
|
|
コンテナを起動します:
|
|
|
|
```bash
|
|
docker compose up
|
|
```
|
|
|
|
コンテナはWebUIアクセス用にポート`5300`をマッピングします。`http://127.0.0.1:5300`にアクセスしてWebUIを表示できます。
|
|
また、メッセージプラットフォームアダプター用に予約されたポート`2280-2290`もマッピングします。
|
|
|
|
LangBotのデプロイ完了後、引き続き以下をお読みください:
|
|
|
|
- [ボット設定ドキュメント](/en/deploy/platforms/readme)
|
|
- [モデル設定ドキュメント](/en/deploy/models/readme)
|