Harden Rust backend deployment
This commit is contained in:
@@ -41,8 +41,9 @@ Run the Rust backend separately:
|
||||
npm run dev:backend
|
||||
```
|
||||
|
||||
The backend listens on <http://localhost:6000> by default and reads the SQLite
|
||||
databases configured by `TSS_BATTLES_DB` and `TSS_TEAMS_DB`.
|
||||
The backend listens on <http://127.0.0.1:6000> by default and reads the SQLite
|
||||
databases configured by `TSS_BATTLES_DB` and `TSS_TEAMS_DB`. Keep it bound to
|
||||
`127.0.0.1` in production and let `tssbot-web` proxy public API requests.
|
||||
|
||||
## Production with PM2
|
||||
|
||||
|
||||
Reference in New Issue
Block a user