mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-06-02 20:14:36 +00:00
40 lines
1009 B
YAML
40 lines
1009 B
YAML
# Docker Compose configuration for LangBot
|
|
# For Kubernetes deployment, see kubernetes.yaml and README_K8S.md
|
|
version: "3"
|
|
|
|
services:
|
|
|
|
langbot_plugin_runtime:
|
|
image: rockchin/langbot:latest
|
|
container_name: langbot_plugin_runtime
|
|
platform: linux/amd64 # For Apple Silicon compatibility
|
|
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
|
|
platform: linux/amd64 # For Apple Silicon compatibility
|
|
volumes:
|
|
- ./data:/app/data
|
|
restart: on-failure
|
|
environment:
|
|
- TZ=Asia/Shanghai
|
|
ports:
|
|
- 5300:5300 # For web ui and webhook callback
|
|
- 2280-2285:2280-2285 # For platform reverse connection
|
|
networks:
|
|
- langbot_network
|
|
|
|
networks:
|
|
langbot_network:
|
|
driver: bridge
|