Docker Deployment
Trial License
Need a trial license? Please refer to: Question 13: How to apply for licenseKey
Tip
- Operating System: Ubuntu 22.04 LTS
- Server minimum configuration: 4 cores 8GB RAM
- Configuration requirements too high? Suggestion: You can split MySQL, Redis, Elasticsearch, ArtemisMQ and other services to other servers, keeping only core services on the main server. This can effectively reduce server configuration requirements.
- Docker Community Edition images, choose one of the two, recommend Alibaba Cloud image for domestic use
- bytedesk/bytedesk-ce:latest # hub.docker.com community
- registry.cn-hangzhou.aliyuncs.com/bytedesk/bytedesk-ce:latest # Alibaba Cloud community image
- Docker Enterprise Edition/Platform Edition images, choose one of the two, recommend Alibaba Cloud image for domestic use
- bytedesk/bytedesk:latest # hub.docker.com enterprise
- registry.cn-hangzhou.aliyuncs.com/bytedesk/bytedesk:latest # Alibaba Cloud enterprise/platform image
Quick Start
git clone https://github.com/Bytedesk/bytedesk.git
cd bytedesk/deploy/docker
# optional: copy env template
cp .env.example .env
# default startup: MySQL + Artemis + standard scenario, middleware only
./start.sh mysql artemis standard middleware
For more combinations (PostgreSQL/Oracle, RabbitMQ, noai, call, full stack), see deploy/docker/readme.md.
Optional: Pull models (when using local Ollama)
# Chat model
ollama pull qwen3:0.6b
# Vector model
ollama pull bge-m3:latest
Stop Containers
# stop current middleware stack (keep containers)
./stop.sh mysql artemis standard stop middleware
# remove current middleware stack containers (keep volumes)
./stop.sh mysql artemis standard down middleware
Open Ports
Please open inbound ports in internal network
- 9003
- 9885