docker-compose安装jumpserver
默认用户名密码 admin/admin
version: '3'
services:
db:
image: "MySQL:5.7"
restart: 'always'
container_name: mysql
ports:
- "3309:3306"
environment:
- MYSQL_ROOT_PASSWORD=dbf@123qwe
- MYSQL_DATABASE=jumpserver
- MYSQL_USER=jumpserver
- MYSQL_PASSWORD=jumpserver12345
- character-set-server=utf8mb4
- collation-server=utf8mb4_bin
volumes:
- /data/mysql_jms/data:/var/lib/mysql
deploy:
replicas: 1
update_config:
delay: 1s
restart_policy:
condition: on-failure
jump:
image: "jumpserver/jms_all:latest"
ports:
- "8088:80"
depends_on:
- db
environment:
- DB_HOST=db
- DB_USER=jumpserver
- DB_PASSWORD=jumpserver12345
- DB_NAME=jumpserver
restart: 'always'
container_name: 'jumpserver'
volumes:
- ./data-jumpserver:/opt/jumpserver/data/
- ./logs:/opt/jumpserver/logs/
deploy:
replicas: 1
update_config:
delay: 1s
restart_policy:
condition: on-failure
参考jumpserver官网:https://jumpserver.readthedocs.io/zh/master/dockerinstall.html
创新互联服务项目包括牙克石网站建设、牙克石网站制作、牙克石网页制作以及牙克石网络营销策划等。多年来,我们专注于互联网行业,利用自身积累的技术优势、行业经验、深度合作伙伴关系等,向广大中小型企业、政府机构等提供互联网行业的解决方案,牙克石网站推广取得了明显的社会效益与经济效益。目前,我们服务的客户以成都为中心已经辐射到牙克石省份的部分城市,未来相信会继续扩大服务区域并继续获得客户的支持与信任!
网站栏目:docker-compose安装jumpserver
链接分享:http://scjbc.cn/article/iicjjd.html