feat: it works with 0.12.0

This commit is contained in:
alswl 2022-12-10 21:49:20 +08:00
parent 86046ea3b4
commit c2645a36a7
4 changed files with 22 additions and 12 deletions

View File

@ -7,14 +7,26 @@ Docs:
- [Self hosted online collaborative drawing platform Excalidraw | Log4D](https://en.blog.alswl.com/2022/10/self-hosted-excalidraw/) - [Self hosted online collaborative drawing platform Excalidraw | Log4D](https://en.blog.alswl.com/2022/10/self-hosted-excalidraw/)
- [私有化在线协同画图平台 Excalidraw | Log4D]( https://blog.alswl.com/2022/10/self-hosted-excalidraw/ ) - [私有化在线协同画图平台 Excalidraw | Log4D]( https://blog.alswl.com/2022/10/self-hosted-excalidraw/ )
Build: Build and Run:
``` ```
# ignore submodule changes, we will patch them git config submodule.excalidraw.ignore all # ignore submodule changes, we will patch them
git config submodule.excalidraw.ignore all
make patch make patch
make images make images
make generate-compose make bump-version
docker-compose up docker-compose up
``` ```
Browse:
- open http://127.0.0.1/ ,and you will see the excalidraw page
- Click the `Live Collaboration` button, and you will see the collaboration page
- Now you can share the collaboration page with your friends, and you can draw together.
Public Release:
if you want to release your own excalidraw in public network,
you should modify the `excalidraw.production.env` file,
Replace the `REACT_APP_HTTP_STORAGE_BACKEND_URL` and `REACT_APP_WS_SERVER_URL` with your own domain.

View File

@ -1 +1 @@
v0.1.0-362de13 v0.1.0-86046ea

View File

@ -2,14 +2,12 @@
services: services:
frontend: frontend:
image: excalidraw:v0.1.0-362de13 image: excalidraw:v0.1.0-86046ea
environment: # docs https://github.com/alswl/excalidraw-storage-backend#environement-variables
- PORT=8080
ports: ports:
- 80:80 - 80:80
storage: storage:
image: excalidraw-storage-backend:v0.1.0-362de13 image: excalidraw-storage-backend:v0.1.0-86046ea
restart: always restart: always
environment: # docs https://github.com/alswl/excalidraw-storage-backend#environement-variables environment: # docs https://github.com/alswl/excalidraw-storage-backend#environement-variables
- PORT=8081 - PORT=8081
@ -17,6 +15,6 @@ services:
- 8081:8081 - 8081:8081
room: room:
image: excalidraw-room:v0.1.0-362de13 image: excalidraw-room:v0.1.0-86046ea
ports: ports:
- 8082:8080 - 8082:80

@ -1 +1 @@
Subproject commit 015bdb1c0a2787c6d9544b9cbd66d9c92443431b Subproject commit bc61cd96f594eded067f729dd3623efd9fff6948