Skip to content

Commit 34be2be

Browse files
doc: update installation docs
1 parent f78eeea commit 34be2be

2 files changed

Lines changed: 12 additions & 11 deletions

File tree

docs/installation/offline_installtion.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
|------|:---------|:--------------------------|
2525
| 22 | SSH | 安装、升级及管理使用 |
2626
| 8000 | Web 服务端口 | 默认 Web 服务访问端口,可根据实际情况进行更改 |
27+
| 8001 | MCP 服务端口 | 默认 MCP 服务访问端口,可根据实际情况进行更改 |
2728

2829

2930

docs/installation/online_installtion.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@
1818
| 端口 | 作用 | 说明 |
1919
|------|:---------|:--------------------------|
2020
| 22 | SSH | 安装、升级及管理使用 |
21-
| 8000 | Web 服务端口 | 默认 Web 服务访问端口,可根据实际情况进行更改 |
21+
| 8000 | Web 服务端口 | 默认 Web 服务访问端口,可根据实际情况进行更改 |
22+
| 8001 | MCP 服务端口 | 默认 MCP 服务访问端口,可根据实际情况进行更改 |
2223

2324

2425

@@ -29,16 +30,15 @@
2930
在配置 Docker 环境的操作系统中,进行以下操作:
3031

3132
```
32-
33-
# 创建目录
34-
mkdir -p /opt/sqlbot
35-
cd /opt/sqlbot
36-
37-
#下载 docker-compose.yaml
38-
curl -o docker-compose.yaml https://raw.githubusercontent.com/dataease/SQLBot/main/docker-compose.yaml
39-
40-
#启动服务
41-
docker compose up -d
33+
docker run -d \
34+
--name sqlbot \
35+
--restart unless-stopped \
36+
-p 8000:8000 \
37+
-v ./data/sqlbot/excel:/opt/sqlbot/data/excel \
38+
-v ./data/sqlbot/images:/opt/sqlbot/images \
39+
-v ./data/sqlbot/logs:/opt/sqlbot/logs \
40+
-v ./data/postgresql:/var/lib/postgresql/data \
41+
dataease/sqlbot:v1.1.1
4242
```
4343

4444
# 4 登录访问

0 commit comments

Comments
 (0)