update bash

This commit is contained in:
archer 2023-09-04 18:03:20 +08:00
parent 1207e3e566
commit ae88d79d6f
No known key found for this signature in database
GPG Key ID: 569A5660D2379E28
2 changed files with 8 additions and 3 deletions

View File

@ -146,7 +146,7 @@ networks:
```bash
# 在 docker-compose.yml 同级目录下执行
docker-compose up -d --pull
docker-compose up -d
```
## 访问 FastGPT
@ -159,7 +159,12 @@ docker-compose up -d --pull
### 如何更新?
执行 `docker-compose up -d --pull` 会自动拉取最新镜像,一般情况下不需要执行额外操作。
执行下面命令会自动拉取最新镜像,一般情况下不需要执行额外操作。
```bash
docker-compose pull
docker-compose up -d
```
### 如何自定义配置文件?

View File

@ -1,6 +1,6 @@
#!/bin/bash
docker-compose pull
docker-compose up -d --pull
docker-compose up -d
echo "Docker Compose 重新拉取镜像完成!"