sphqxe / NATS-WebUI

A WebUI for NATS Server
233 stars 44 forks source link

Not working with Docker NATS #55

Open T00rk opened 1 year ago

T00rk commented 1 year ago

I deployed your UI in a docker container. My NATS server is also in another Docker container.

Whenever I add the server it's labelled "unreachable".

Do you have any information on how to install it correctly on Docker ?

image

image

Sylphe88 commented 1 year ago

Same issue here, I've tried running the webUI and the nats server in the same docker network, and tried addressing the server by several identifiers (localhost, 127.0.0.1 and the inner docker network address)

hosseio commented 1 year ago

same here

darrencrossley commented 1 year ago

Did anyone work out what was going on here? I have the same issue :/

hosseio commented 1 year ago

i have not, I ended up using nats cli tool

alonkaliber commented 1 year ago

But if it's configured (the nats-server) outside of a docker container, did u guys succed integration betwen the two ?

nutter20912 commented 1 year ago

try host.docker.internal

https://docs.docker.com/desktop/networking/#i-want-to-connect-from-a-container-to-a-service-on-the-host