Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
c121914yu committed Aug 19, 2023
1 parent 1fcdd7c commit 4d8c03e
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 14 deletions.
7 changes: 4 additions & 3 deletions docSite/docs/develop/deploy/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ services:
- ./mongo/data:/data/db
fastgpt:
container_name: fastgpt
# image: ghcr.io/labring/fastgpt:latest # git
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:latest # 阿里云
image: ghcr.io/labring/fastgpt:latest # git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:latest # 阿里云
ports:
- 3000:3000
networks:
Expand Down Expand Up @@ -127,7 +127,8 @@ services:
- ./mongo/data:/data/db
- ./mongo/logs:/var/log/mongodb
fastgpt:
image: ghcr.io/c121914yu/fastgpt:latest # github
image: ghcr.io/labring/fastgpt:latest # github
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:latest # 阿里云
network_mode: host
restart: always
container_name: fastgpt
Expand Down
2 changes: 1 addition & 1 deletion docSite/docs/develop/dev.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,5 @@ pnpm dev
## 镜像打包

```bash
docker build -t c121914yu/fastgpt .
docker build -t dockername/fastgpt .
```
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ services:
- ./mongo/data:/data/db
fastgpt:
container_name: fastgpt
# image: c121914yu/fast-gpt:latest # docker hub
image: ghcr.io/labring/fastgpt:latest # 阿里云
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:latest # 阿里云
image: ghcr.io/labring/fastgpt:latest # github
ports:
- 3000:3000
networks:
Expand Down Expand Up @@ -129,9 +129,8 @@ volumes:
- ./mongo/data:/data/db
- ./mongo/logs:/var/log/mongodb
fastgpt:
# image: ghcr.io/c121914yu/fastgpt:latest # github
# image: c121914yu/fast-gpt:latest # docker hub
image: ghcr.io/labring/fastgpt:latest # 阿里云
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:latest # 阿里云
image: ghcr.io/labring/fastgpt:latest # git
network_mode: host
restart: always
container_name: fastgpt
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,5 @@ pnpm dev
## 镜像打包

```bash
docker build -t c121914yu/fastgpt .
docker build -t dockername/fastgpt .
```
7 changes: 3 additions & 4 deletions files/deploy/fastgpt/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ services:
- ./mongo/data:/data/db
fastgpt:
container_name: fastgpt
# image: c121914yu/fast-gpt:latest # docker hub
image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:latest # 阿里云
image: ghcr.io/labring/fastgpt:latest # git
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:latest # 阿里云
ports:
- 3000:3000
networks:
Expand Down Expand Up @@ -93,8 +93,7 @@ networks:
# - ./mongo/data:/data/db
# - ./mongo/logs:/var/log/mongodb
# fastgpt:
# # image: ghcr.io/c121914yu/fastgpt:latest # github
# # image: c121914yu/fast-gpt:latest # docker hub
# # image: ghcr.io/labring/fastgpt:latest # github
# image: registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt:latest # 阿里云
# network_mode: host
# restart: always
Expand Down

0 comments on commit 4d8c03e

Please sign in to comment.