fix: use fixed IP for wzp-relay (wzp-web can't resolve hostnames)
wzp-web --relay only accepts IP:port, not Docker hostnames. Fixed IP 172.28.0.10 on backend network with explicit subnet. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -65,7 +65,8 @@ services:
|
|||||||
- "--auth-url"
|
- "--auth-url"
|
||||||
- "http://warzone-server:7700/v1/auth/validate"
|
- "http://warzone-server:7700/v1/auth/validate"
|
||||||
networks:
|
networks:
|
||||||
- backend
|
backend:
|
||||||
|
ipv4_address: 172.28.0.10
|
||||||
|
|
||||||
# ─── WZP web bridge (browser WS ↔ QUIC relay) ───
|
# ─── WZP web bridge (browser WS ↔ QUIC relay) ───
|
||||||
wzp-web:
|
wzp-web:
|
||||||
@@ -78,7 +79,7 @@ services:
|
|||||||
- "--port"
|
- "--port"
|
||||||
- "8080"
|
- "8080"
|
||||||
- "--relay"
|
- "--relay"
|
||||||
- "wzp-relay:4433"
|
- "172.28.0.10:4433"
|
||||||
- "--auth-url"
|
- "--auth-url"
|
||||||
- "http://warzone-server:7700/v1/auth/validate"
|
- "http://warzone-server:7700/v1/auth/validate"
|
||||||
depends_on:
|
depends_on:
|
||||||
@@ -99,3 +100,6 @@ volumes:
|
|||||||
networks:
|
networks:
|
||||||
frontend:
|
frontend:
|
||||||
backend:
|
backend:
|
||||||
|
ipam:
|
||||||
|
config:
|
||||||
|
- subnet: 172.28.0.0/24
|
||||||
|
|||||||
Reference in New Issue
Block a user