jumpserver容器化部署

jumpserver容器化部署
docker run --name jms_all -d \  
  -v /opt/jumpserver:/opt/jumpserver/data/media \  
  -p 80:80 \  
  -p 2222:2222 \  
  -e SECRET_KEY=xxxxxx \  
  -e BOOTSTRAP_TOKEN=xxx \  
  -e DB_HOST=192.168.x.x \  
  -e DB_PORT=3306 \  
  -e DB_USER=root \  
  -e DB_PASSWORD=xxx \  
  -e DB_NAME=jumpserver \  
  -e REDIS_HOST=192.168.x.x \  
  -e REDIS_PORT=6379 \  
  -e REDIS_PASSWORD=xxx \  
  jumpserver/jms_all:latest

#注意:系统用户与管理用户的区别
参考
https://jumpserver.readthedocs.io/zh/master/
posted @ 2020-05-23 00:56  kylingx  阅读(230)  评论(0编辑  收藏  举报