下载镜像
docker pull registry.cn-beijing.aliyuncs.com/wuxingge123/drawio:latest
docker-compose部署
vim docker-compose.yml
version: '3'
services:drawio:container_name: drawioimage: registry.cn-beijing.aliyuncs.com/wuxingge123/drawio:latestports:- 8083:8080volumes:- drawiojs:/usr/local/tomcat/webapps/draw/jsrestart: unless-stopped
volumes:drawiojs:
启动
docker-compose up -d
访问
http://x.x.x.x:8083