Skip to content

Commit f149e27

Browse files
Revise SQLBot installation instructions in README
Updated installation instructions for SQLBot to include Docker run command.
1 parent 881dbfc commit f149e27

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,18 @@ SQLBot 是一款基于大模型和 RAG 的智能问数系统。SQLBot 的优势
1919
### 安装部署
2020

2121
准备一台 Linux 服务器,执行以下一键安装脚本。
22-
在运行 SQLBot 前,请确保已安装好 [Docker](https://docs.docker.com/get-docker/)[Docker Compose](https://docs.docker.com/compose/install/)
22+
在运行 SQLBot 前,请确保已安装好 [Docker](https://docs.docker.com/get-docker/)
2323

2424
```bash
25-
# 创建目录
26-
mkdir -p /opt/sqlbot
27-
cd /opt/sqlbot
28-
29-
# 下载 docker-compose.yaml
30-
curl -o docker-compose.yaml https://raw.githubusercontent.com/dataease/SQLBot/main/docker-compose.yaml
31-
32-
# 启动服务
33-
docker compose up -d
25+
docker run -d \
26+
--name sqlbot \
27+
--restart unless-stopped \
28+
-p 8000:8000 \
29+
-v ./data/sqlbot/excel:/opt/sqlbot/data/excel \
30+
-v ./data/sqlbot/images:/opt/sqlbot/images \
31+
-v ./data/sqlbot/logs:/opt/sqlbot/logs \
32+
-v ./data/postgresql:/var/lib/postgresql/data \
33+
registry.cn-qingdao.aliyuncs.com/dataease/sqlbot:v1.1.1
3434
```
3535

3636
你也可以通过 [1Panel 应用商店](https://apps.fit2cloud.com/1panel) 快速部署 SQLBot。

0 commit comments

Comments
 (0)