Commit 4d90342
feat(lobby): use native WebSocket, drop faf-ws-bridge
faf-python-server now speaks WebSocket directly on 8003/ws, so the
ws_bridge_rs sidecar is no longer needed.
- Point the IngressRoute for ws.{baseDomain} at faf-lobby-server:8003
instead of faf-ws-bridge:8003 (and rename the resource).
- Remove the LISTEN block from the lobby config; the new server reads
WS_HOST/WS_PORT/WS_PATH and the defaults already produce :8003/ws.
- Set WS_FORWARDED_IP_HEADER=CF-Connecting-IP so the real client IP
from Cloudflare is preserved.
- Bump image to faforever/faf-python-server:feature-websocket for the
test deploy.
- Delete apps/faf-ws-bridge entirely.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 91d4c67 commit 4d90342
6 files changed
Lines changed: 7 additions & 55 deletions
File tree
- apps
- faf-lobby-server
- config
- templates
- faf-ws-bridge
- templates
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
9 | 8 | | |
10 | 9 | | |
11 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
This file was deleted.
This file was deleted.
This file was deleted.
0 commit comments