fix(docker): correct LNS env vars (DAEMON_URL not DAEMON_RPC), add HSD host access, fix trade-frontend API_URL for SSR
Some checks are pending
Build & Release / Linux x86_64 (push) Waiting to run
Build & Release / macOS ARM64 (push) Waiting to run
Build & Release / Create Release (push) Blocked by required conditions

Co-Authored-By: Charon <charon@lethean.io>
This commit is contained in:
Claude 2026-04-03 11:56:34 +01:00
parent 21ebfa1d17
commit 87fbdbb08d
No known key found for this signature in database
GPG key ID: AF404715446AEB41

View file

@ -162,7 +162,8 @@ services:
ports:
- "${TRADE_FRONTEND_PORT:-3338}:30289"
environment:
NEXT_PUBLIC_API_URL: http://trade-api:3336
NEXT_PUBLIC_API_URL: http://${PUBLIC_HOST:-localhost}:${TRADE_API_PORT:-3336}
API_URL: http://trade-api:3336
depends_on:
- trade-api
@ -206,10 +207,13 @@ services:
- "${LNS_DNS_PORT:-5354}:5354/udp"
- "${LNS_DNS_PORT:-5354}:5354/tcp"
environment:
DAEMON_RPC: http://daemon:36941/json_rpc
DAEMON_URL: http://daemon:36941
HSD_URL: http://host.docker.internal:14037
LNS_MODE: light
LNS_HTTP_PORT: "5553"
LNS_DNS_PORT: "5354"
extra_hosts:
- "host.docker.internal:host-gateway"
depends_on:
daemon:
condition: service_healthy