【Excalidraw】在线白板的docker安装

1、官网

https://excalidraw.com/

 

2、github

https://github.com/excalidraw/excalidraw

 

3、文档

https://docs.excalidraw.com/

 

4、基于docker-compose搭建

git clone https://github.com/excalidraw/excalidraw.git
cd excalidraw/

修改docker-compose.yaml文件

version: "3.8"
services:
  excalidraw:
    build:
      context: .
      args:
        - NODE_ENV=development
    container_name: excalidraw
    ports:
      - "9006:80"
    restart: on-failure
    stdin_open: true
    healthcheck:
      disable: true
    environment:
      - NODE_ENV=development
    volumes:
      - ./:/opt/node_app/app:delegated
      - ./package.json:/opt/node_app/package.json
      - ./yarn.lock:/opt/node_app/yarn.lock
      - notused:/opt/node_app/app/node_modules
volumes:
  notused:

运行

docker-compose up --build -d

 

 

其他方式自己百度吧,环境搭建没啥难度。

 

参考链接:

https://www.cnblogs.com/cuianbing/p/14816846.html

 

 

 

  

posted @ 2023-07-25 10:43  代码诠释的世界  阅读(321)  评论(0编辑  收藏  举报