pmoraitop revised this gist . Go to revision
1 file changed, 45 insertions
gistfile1.txt(file created)
@@ -0,0 +1,45 @@ | |||
1 | + | version: "3.9" | |
2 | + | ||
3 | + | services: | |
4 | + | frontend: | |
5 | + | image: alswl/excalidraw:v0.17.3-fork-b1 | |
6 | + | container_name: excalidraw-frontend | |
7 | + | environment: | |
8 | + | - VITE_APP_BACKEND_V2_GET_URL=https://<storage_link_reverse_proxy>/api/v2/scenes/ | |
9 | + | - VITE_APP_BACKEND_V2_POST_URL=https://<storage_link_reverse_proxy>/api/v2/scenes/ | |
10 | + | - VITE_APP_WS_SERVER_URL=wss://<room_link_reverse_proxy> | |
11 | + | ||
12 | + | - VITE_APP_HTTP_STORAGE_BACKEND_URL=https://<storage_link_reverse_proxy>/api/v2 | |
13 | + | - VITE_APP_STORAGE_BACKEND=https | |
14 | + | ports: | |
15 | + | - "5749:80" | |
16 | + | restart: always | |
17 | + | ||
18 | + | storage: | |
19 | + | image: kiliandeca/excalidraw-storage-backend | |
20 | + | container_name: excalidraw-storage | |
21 | + | environment: | |
22 | + | - PORT=8081 | |
23 | + | - GLOBAL_PREFIX=/api/v2 | |
24 | + | - STORAGE_URI=mysql://root:password@mysql:8003/excalidraw | |
25 | + | - LOG_LEVEL=warn | |
26 | + | ports: | |
27 | + | - "8081:8081" | |
28 | + | restart: always | |
29 | + | ||
30 | + | room: | |
31 | + | image: excalidraw/excalidraw-room:sha-49bf529 | |
32 | + | container_name: excalidraw-room | |
33 | + | ports: | |
34 | + | - "8082:80" | |
35 | + | restart: always | |
36 | + | ||
37 | + | mysql: | |
38 | + | image: mysql | |
39 | + | container_name: mysql | |
40 | + | environment: | |
41 | + | - MYSQL_ROOT_PASSWORD=password | |
42 | + | - MYSQL_DATABASE=excalidraw | |
43 | + | ports: | |
44 | + | - "8003:3306" | |
45 | + | restart: always |
Newer
Older