feat: add railway support

This commit is contained in:
Jingchao Di 2023-11-27 00:17:39 +08:00
parent de50baa3e6
commit 8a3635f0fa
2 changed files with 4 additions and 2 deletions

View File

@ -2,6 +2,9 @@
One click to init an excalidraw with collaboration. One click to init an excalidraw with collaboration.
[![Deploy on Railway](https://railway.app/button.svg)](https://railway.app/template/PjQnHs?referralCode=HM_ZCO)
Snapshot: Snapshot:
![snapshot](./_assets/snapshot.png) ![snapshot](./_assets/snapshot.png)

View File

@ -2,9 +2,8 @@
services: services:
frontend: frontend:
image: alswl/excalidraw:v0.17.0-fork-b1 image: alswl/excalidraw:v0.17.0-fork-b2
environment: environment:
- PORT=8081
- VITE_APP_BACKEND_V2_GET_URL=https://test.com/api/v2/ - 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_BACKEND_V2_POST_URL=https://test.com/api/v2/post/
- VITE_APP_WS_SERVER_URL=http://127.0.0.1:8082 - VITE_APP_WS_SERVER_URL=http://127.0.0.1:8082