Skip to content

Commit

Permalink
perf: mongo doc (#855)
Browse files Browse the repository at this point in the history
  • Loading branch information
c121914yu authored Feb 17, 2024
1 parent bf7ee91 commit 0c439c7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions docSite/content/docs/development/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,8 @@ curl -O https://raw.githubusercontent.com/labring/FastGPT/main/projects/app/data
cd 项目目录
# 创建 mongo 密钥
openssl rand -base64 756 > ./mongodb.key
# 600不行可以用chmod 999
chmod 600 ./mongodb.key

chown 999:root ./mongodb.key
# 启动容器
docker-compose pull
docker-compose up -d
Expand Down
2 changes: 1 addition & 1 deletion docSite/content/docs/development/upgrading/468.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ mongo:
cd 项目目录
# 创建 mongo 密钥
openssl rand -base64 756 > ./mongodb.key
# 600不行可以用chmod 999
chmod 600 ./mongodb.key
chown 999:root ./mongodb.key
# 重启 Mongo
docker-compose down
docker-compose up -d
Expand Down

0 comments on commit 0c439c7

Please sign in to comment.