Merge pull request #39 from alswl/feat/railway

feat: add railway support
This commit is contained in:
Jingchao 2023-11-27 00:18:26 +08:00 committed by GitHub
commit 8c9623e808
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -2,6 +2,9 @@
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](./_assets/snapshot.png)

View File

@ -2,9 +2,8 @@
services:
frontend:
image: alswl/excalidraw:v0.17.0-fork-b1
image: alswl/excalidraw:v0.17.0-fork-b2
environment:
- PORT=8081
- 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