码迷,mamicode.com
首页 > 其他好文 > 详细

docker-compose安装jumpserver

时间:2020-01-04 00:48:22      阅读:128      评论:0      收藏:0      [点我收藏+]

标签:ica   mys   set   dock   har   install   bin   roo   server1   

默认用户名密码 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

标签:ica   mys   set   dock   har   install   bin   roo   server1   

原文地址:https://blog.51cto.com/11873474/2464121

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!