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
eb44997a
Unverified
Commit
eb44997a
authored
6 years ago
by
wojiushixiaobai
Committed by
GitHub
6 years ago
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2406 from wojiushixiaobai/docs
[Update]更新
parents
eeb5dfa9
5a935c49
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
dockerinstall.rst
docs/dockerinstall.rst
+7
-1
No files found.
docs/dockerinstall.rst
View file @
eb44997a
...
...
@@ -14,8 +14,13 @@ Docker 安装见: `Docker官方安装文档 <https://docs.docker.com/install/>`_
.. code-block:: shell
$ SECRET_KEY=`cat /dev/urandom | tr -dc A-Za-z0-9 | head -c 50` # 生成加密秘钥, 勿外泄
$ BOOTSTRAP_TOKEN=`cat /dev/urandom | tr -dc A-Za-z0-9 | head -c 16` # 生成组件注册所需Token, 勿外泄
# 最新版本
$ docker run --name jms_all -d -p 80:80 -p 2222:2222 jumpserver/jms_all:latest
$ 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, 需要保持一致
访问
```````````````
...
...
@@ -48,6 +53,7 @@ XShell等工具请添加 connection 连接, 默认 ssh 端口 2222
额外环境变量
```````````````
- SECRET_KEY = ******
- BOOTSTRAP_TOKEN = ******
- DB_ENGINE = mysql
- DB_HOST = mysql_host
...
...
This diff is collapsed.
Click to expand it.
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