本文最后更新于:5 个月前
官网地址
安装部署
1 2
| curl -sSL https://github.com/jumpserver/jumpserver/releases/download/v2.6.1/quick_start.sh | sh
|
配置文件
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89
|
COMPOSE_PROJECT_NAME=jms COMPOSE_HTTP_TIMEOUT=3600 DOCKER_CLIENT_TIMEOUT=3600 DOCKER_SUBNET=192.168.250.0/24
VOLUME_DIR=/opt/data/
USE_EXTERNAL_MYSQL=1 USE_EXTERNAL_REDIS=1
HTTP_PORT=8080 HTTPS_PORT=8443 SSH_PORT=2222
USE_LB=0 LB_HTTP_PORT=80 LB_HTTPS_PORT=443 LB_SSH_PORT=2223
USE_TASK=1
USE_XPACK=0
CORE_HOST=http://121.5.21.20:8080 ENABLE_PROXY_PROTOCOL=true
SECRET_KEY=TEJZPgMoeXzo6ojeAuhNLE3s0r77eY1R9px129nqHVcSF9HF2 BOOTSTRAP_TOKEN=hank4RTz5QrYqfRW LOG_LEVEL=INFO
DB_ENGINE=mysql DB_HOST=172.17.0.7 DB_PORT=3306 DB_USER=root DB_PASSWORD=7223c5a94dc4b691 DB_NAME=jumpserver
REDIS_HOST=172.17.0.7 REDIS_PASSWORD=12345678
JUMPSERVER_SERVER=http://121.5.21.20:8080 JUMPSERVER_KEY_DIR=/config/guacamole/data/key/ JUMPSERVER_RECORD_PATH=/config/guacamole/data/record/ JUMPSERVER_DRIVE_PATH=/config/guacamole/data/drive/ JUMPSERVER_ENABLE_DRIVE=true JUMPSERVER_CLEAR_DRIVE_SESSION=true JUMPSERVER_CLEAR_DRIVE_SCHEDULE=24
MYSQL_ROOT_PASSWORD=7223c5a94dc4b691 MYSQL_DATABASE=jumpserver REDIS_PORT=6379
|
Mysql和 Redis 的ip要使用本机内网ip
查看本机内网ip方法