您好,登錄后才能下訂單哦!
默認用戶名密碼 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
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。