赞
踩
sudo curl -L "https://github.com/docker/compose/releases/download/v2.2.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose
docker-compose --version
# 按需修改
work=/docker/excalidraw && mkdir -p $work && cd $work
vim $work/docker-compose.yml
version: '3.3'
services:
excalidraw:
image: 'ddsderek/excalidraw:latest'
container_name: excalidraw
restart: unless-stopped
ports:
- '3698:80'
volumes:
- './data:/app/web'
networks:
- default
networks:
default:
name: excalidraw
docker load > excalidraw.tar
提取码: 9527
上线服务:
cd $work && docker-compose up -d
直接访问:http://ip:3698,即可正常使用。
vim $work/data/index.html
9527
docker-compose restart
选择最后的字体,便是自定义的新字体:
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。