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