【迁移】Docker部署drawio

Last updated on March 19, 2024 pm

1
2
3
4
5
6
mkdir -p ~/app/draw && cd ~/app/draw && nano docker-compose.yml
sudo docker-compose up -d && sudo docker-compose logs
sudo docker-compose cp drawio:/docker-entrypoint.sh ./docker-entrypoint.sh
# 将"urlParams['gh'] = '0';改成"urlParams['gh'] = '1';
#取消volumes的注释
sudo docker-compose down && sudo docker-compose up -d
1
2
3
4
5
6
7
8
9
10
11
version: '3.3'
services:
drawio:
container_name: draw
environment:
- TZ=Asia/Shanghai
ports:
- '7080:8080'
# volumes:
# - ./docker-entrypoint.sh:/docker-entrypoint.sh
image: jgraph/drawio

【迁移】Docker部署drawio
https://hexo.limour.top/-Docker-bu-shu-drawio
Author
Limour
Posted on
March 29, 2023
Updated on
March 19, 2024
Licensed under