jumperserver docker部署

最近在考虑 系统安全问题,jumperserver 用docker 部署比较简单
1. 安装redis
2.安装mariadb

create database jumpserver charset='utf8';
grant all on jumpserver.* to 'jumpserver'@'%' identified by '123456';
flush privileges;

 

3. 运行jumperserver 镜像

docker run -d -p 55556:80 -e DB_ENGINE=mysql -e DB_HOST=192.168.10.68 -e DB_PORT=3306 -e DB_USER=jumpserver -e DB_PASSWORD=Abcd,1234 -e DB_NAME=jumpserver REDIS_HOST=127.0.0.1 REDIS_PORT=6379 registry.jumpserver.org/public/jumpserver:1.0.0

 

posted @ 2018-03-27 09:58  fengjian1585  阅读(1558)  评论(0编辑  收藏  举报