Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
J
jumpserver
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ops
jumpserver
Commits
967b5e3d
Unverified
Commit
967b5e3d
authored
Mar 07, 2019
by
wojiushixiaobai
Committed by
GitHub
Mar 07, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2475 from wojiushixiaobai/docs
[Update]更新文档
parents
289f6068
ea1824df
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
distributed_05.rst
docs/distributed_05.rst
+1
-1
dockerinstall.rst
docs/dockerinstall.rst
+1
-1
No files found.
docs/distributed_05.rst
View file @
967b5e3d
...
...
@@ -77,7 +77,7 @@
.. code-block:: yaml
# SECURITY WARNING: keep the secret key used in production secret!
# 加密秘钥 生产环境中请修改为随机字符串, 请勿外泄
# 加密秘钥 生产环境中请修改为随机字符串, 请勿外泄
, 升级或者迁移请保持不变
SECRET_KEY:
# SECURITY WARNING: keep the bootstrap token used in production secret!
...
...
docs/dockerinstall.rst
View file @
967b5e3d
...
...
@@ -19,7 +19,7 @@ Tips: 不建议在生产中使用, 因为所有软件都打包到一个Docker中
# 最新版本
$ docker run --name jms_all -d -p 80:80 -p 2222:2222 -e SECRET_KEY=$SECRET_KEY -e BOOTSTRAP_TOKEN=$BOOTSTRAP_TOKEN jumpserver/jms_all:latest
环境迁移和更新升级请
手动指定SECRET_KEY和BOOTSTRAP_TOKEN, 需要保持一致
环境迁移和更新升级请
检查 SECRET_KEY 是否与之前设置一致, 不能随机生成, 否则数据库所有加密的字段均无法解密
访问
```````````````
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment