gistfile1.txt
· 1.2 KiB · Text
Bruto
version: "3.9"
services:
frontend:
image: alswl/excalidraw:v0.17.3-fork-b1
container_name: excalidraw-frontend
environment:
- VITE_APP_BACKEND_V2_GET_URL=https://<storage_link_reverse_proxy>/api/v2/scenes/
- VITE_APP_BACKEND_V2_POST_URL=https://<storage_link_reverse_proxy>/api/v2/scenes/
- VITE_APP_WS_SERVER_URL=wss://<room_link_reverse_proxy>
- VITE_APP_HTTP_STORAGE_BACKEND_URL=https://<storage_link_reverse_proxy>/api/v2
- VITE_APP_STORAGE_BACKEND=https
ports:
- "5749:80"
restart: always
storage:
image: kiliandeca/excalidraw-storage-backend
container_name: excalidraw-storage
environment:
- PORT=8081
- GLOBAL_PREFIX=/api/v2
- STORAGE_URI=mysql://root:password@mysql:8003/excalidraw
- LOG_LEVEL=warn
ports:
- "8081:8081"
restart: always
room:
image: excalidraw/excalidraw-room:sha-49bf529
container_name: excalidraw-room
ports:
- "8082:80"
restart: always
mysql:
image: mysql
container_name: mysql
environment:
- MYSQL_ROOT_PASSWORD=password
- MYSQL_DATABASE=excalidraw
ports:
- "8003:3306"
restart: always
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 |
46 |