fix(docker): correct LNS env vars (DAEMON_URL not DAEMON_RPC), add HSD host access, fix trade-frontend API_URL for SSR
Co-Authored-By: Charon <charon@lethean.io>
This commit is contained in:
parent
21ebfa1d17
commit
87fbdbb08d
1 changed files with 6 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue