mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-06-02 03:55:55 +00:00
chore: move docker-compose.yaml for plugin edition
This commit is contained in:
@@ -1,21 +1,7 @@
|
|||||||
|
# This file is deprecated, and will be replaced by docker/docker-compose.yaml in next version.
|
||||||
version: "3"
|
version: "3"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
|
|
||||||
langbot_plugin_runtime:
|
|
||||||
image: rockchin/langbot:latest
|
|
||||||
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:
|
langbot:
|
||||||
image: rockchin/langbot:latest
|
image: rockchin/langbot:latest
|
||||||
container_name: langbot
|
container_name: langbot
|
||||||
@@ -26,11 +12,6 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
- TZ=Asia/Shanghai
|
- TZ=Asia/Shanghai
|
||||||
ports:
|
ports:
|
||||||
- 5300:5300 # For web ui
|
- 5300:5300 # 供 WebUI 使用
|
||||||
- 2280-2290:2280-2290 # For platform webhook
|
- 2280-2290:2280-2290 # 供消息平台适配器方向连接
|
||||||
networks:
|
# 根据具体环境配置网络
|
||||||
- langbot_network
|
|
||||||
|
|
||||||
networks:
|
|
||||||
langbot_network:
|
|
||||||
driver: bridge
|
|
||||||
36
docker/docker-compose.yaml
Normal file
36
docker/docker-compose.yaml
Normal file
@@ -0,0 +1,36 @@
|
|||||||
|
version: "3"
|
||||||
|
|
||||||
|
services:
|
||||||
|
|
||||||
|
langbot_plugin_runtime:
|
||||||
|
image: rockchin/langbot:latest
|
||||||
|
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
|
||||||
|
container_name: langbot
|
||||||
|
volumes:
|
||||||
|
- ./data:/app/data
|
||||||
|
- ./plugins:/app/plugins
|
||||||
|
restart: on-failure
|
||||||
|
environment:
|
||||||
|
- TZ=Asia/Shanghai
|
||||||
|
ports:
|
||||||
|
- 5300:5300 # For web ui
|
||||||
|
- 2280-2290:2280-2290 # For platform webhook
|
||||||
|
networks:
|
||||||
|
- langbot_network
|
||||||
|
|
||||||
|
networks:
|
||||||
|
langbot_network:
|
||||||
|
driver: bridge
|
||||||
Reference in New Issue
Block a user