2022-12-10 11:51:56 +00:00
|
|
|
# sample comes from https://github.com/docker/awesome-compose
|
|
|
|
|
|
|
|
services:
|
|
|
|
frontend:
|
2023-11-22 23:29:04 +00:00
|
|
|
image: alswl/excalidraw:v0.17.0-fork-b1
|
2023-11-11 23:07:24 +00:00
|
|
|
environment:
|
|
|
|
- PORT=8081
|
2023-11-21 23:59:47 +00:00
|
|
|
- VITE_APP_BACKEND_V2_GET_URL=https://test.com/api/v2/
|
|
|
|
- VITE_APP_BACKEND_V2_POST_URL=https://test.com/api/v2/post/
|
|
|
|
- VITE_APP_WS_SERVER_URL=http://127.0.0.1:8082
|
|
|
|
- VITE_APP_FIREBASE_CONFIG={}
|
2023-11-11 23:07:24 +00:00
|
|
|
# alswl'fork env
|
|
|
|
# forked excalidraw can use env https://github.com/alswl/excalidraw/pull/5
|
2023-11-21 23:59:47 +00:00
|
|
|
- VITE_APP_HTTP_STORAGE_BACKEND_URL=http://127.0.0.1:8081/api/v2
|
|
|
|
- VITE_APP_STORAGE_BACKEND=http
|
2022-12-10 11:51:56 +00:00
|
|
|
ports:
|
|
|
|
- 80:80
|
|
|
|
|
|
|
|
storage:
|
2023-11-11 23:07:24 +00:00
|
|
|
image: alswl/excalidraw-storage-backend:v2023.11.11
|
2022-12-10 11:51:56 +00:00
|
|
|
restart: always
|
|
|
|
environment: # docs https://github.com/alswl/excalidraw-storage-backend#environement-variables
|
|
|
|
- PORT=8081
|
|
|
|
ports:
|
|
|
|
- 8081:8081
|
|
|
|
|
|
|
|
room:
|
2023-11-11 23:07:24 +00:00
|
|
|
image: excalidraw/excalidraw-room:sha-49bf529
|
2022-12-10 11:51:56 +00:00
|
|
|
ports:
|
2023-10-07 14:43:52 +00:00
|
|
|
- 8082:80
|