mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-06-04 04:54:36 +00:00
feat: update docker launch method
This commit is contained in:
@@ -1,8 +1,23 @@
|
||||
version: "3"
|
||||
|
||||
services:
|
||||
|
||||
langbot_plugin_runtime:
|
||||
image: rockchin/langbot:refactor-new-plugin-system
|
||||
container_name: langbot_plugin_runtime
|
||||
volumes:
|
||||
- ./data/plugins:/app/data/plugins
|
||||
ports:
|
||||
- 5401:5401
|
||||
restart: on-failure
|
||||
environment:
|
||||
- TZ=Asia/Shanghai
|
||||
command: ["uv", "run", "-m", "langbot_plugin.cli.__init__", "rt"]
|
||||
networks:
|
||||
- langbot_network
|
||||
|
||||
langbot:
|
||||
image: rockchin/langbot:latest
|
||||
image: rockchin/langbot:refactor-new-plugin-system
|
||||
container_name: langbot
|
||||
volumes:
|
||||
- ./data:/app/data
|
||||
@@ -11,6 +26,11 @@ services:
|
||||
environment:
|
||||
- TZ=Asia/Shanghai
|
||||
ports:
|
||||
- 5300:5300 # 供 WebUI 使用
|
||||
- 2280-2290:2280-2290 # 供消息平台适配器方向连接
|
||||
# 根据具体环境配置网络
|
||||
- 5300:5300 # For web ui
|
||||
- 2280-2290:2280-2290 # For platform webhook
|
||||
networks:
|
||||
- langbot_network
|
||||
|
||||
networks:
|
||||
langbot_network:
|
||||
driver: bridge
|
||||
|
||||
@@ -50,7 +50,7 @@ dependencies = [
|
||||
"pre-commit>=4.2.0",
|
||||
"uv>=0.7.11",
|
||||
"mypy>=1.16.0",
|
||||
"langbot-plugin==0.1.1b2",
|
||||
"langbot-plugin==0.1.1b3",
|
||||
]
|
||||
keywords = [
|
||||
"bot",
|
||||
|
||||
@@ -19,5 +19,5 @@ system:
|
||||
expire: 604800
|
||||
secret: ''
|
||||
plugin:
|
||||
runtime_ws_url: 'ws://plugin-runtime:5400/control/ws'
|
||||
runtime_ws_url: 'ws://langbot_plugin_runtime:5400/control/ws'
|
||||
cloud_service_url: 'https://space.langbot.app'
|
||||
Reference in New Issue
Block a user