Skip to content

Commit

Permalink
update bash
Browse files Browse the repository at this point in the history
  • Loading branch information
c121914yu committed Sep 4, 2023
1 parent 3449024 commit 1207e3e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
6 changes: 5 additions & 1 deletion client/src/pages/api/system/getInitData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,13 @@ const defaultFeConfigs = {
show_register: false,
show_appStore: false,
show_userDetail: false,
show_contact: true,
show_git: true,
show_doc: true,
systemTitle: 'FastGPT',
authorText: 'Made by FastGPT Team.'
authorText: 'Made by FastGPT Team.',
gitLoginKey: '',
scripts: []
};
const defaultChatModels = [
{
Expand Down
4 changes: 2 additions & 2 deletions docSite/content/docs/installation/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ networks:
```bash
# 在 docker-compose.yml 同级目录下执行
docker-compose up -d
docker-compose up -d --pull
```

## 访问 FastGPT
Expand All @@ -159,7 +159,7 @@ docker-compose up -d

### 如何更新?

执行 `docker-compose up -d` 会自动拉取最新镜像,一般情况下不需要执行额外操作。
执行 `docker-compose up -d --pull` 会自动拉取最新镜像,一般情况下不需要执行额外操作。

### 如何自定义配置文件?

Expand Down
2 changes: 1 addition & 1 deletion files/deploy/fastgpt/run.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
docker-compose pull
docker-compose up -d
docker-compose up -d --pull

echo "Docker Compose 重新拉取镜像完成!"

Expand Down

0 comments on commit 1207e3e

Please sign in to comment.