Coder Social home page Coder Social logo

Docker for Windows Issue about documentation HOT 5 CLOSED

SeidChr avatar SeidChr commented on July 1, 2024
Docker for Windows Issue

from documentation.

Comments (5)

mariussturm avatar mariussturm commented on July 1, 2024

Hi,
GRAYLOG_REST_TRANSPORT_URI: http://docker.local:12900 is used internaly for multi-server communication but also for the web interface to communicate from your browser to the Graylog API. Is 'docker.local' a valid hostname that can be reached from your browser?

from documentation.

SeidChr avatar SeidChr commented on July 1, 2024

docker.local is (afaik) the only way to access the docker host vm from the host.
But it seems to be unusable from inside the docker container to access itself.
When i try to just use 127.0.0.1 it doesnt work, since the docker host vm uses a different ip than the windows box.

from documentation.

mariussturm avatar mariussturm commented on July 1, 2024

You could try to set the rest_transport_uri to 127.0.0.1 and web_endpoint_uri to docker.local. PLease have a look here for all available web options: http://docs.graylog.org/en/2.0/pages/configuring_webif.html?highlight=web%20interface

from documentation.

SeidChr avatar SeidChr commented on July 1, 2024

seems to work perfectly! - Thank You

Just one odd thing remains: i should not need to know the public address of the server when starting it up. makes it hard to use the docker-compose file elsewhere without reconfiguration.
But its up to you if you can or want to fix this. For me this is fixed!

from documentation.

mariussturm avatar mariussturm commented on July 1, 2024

The way the web interface works doesn't allow us at the moment to fully automate this. But you can use a loadbalancer or a web proxy to make it work in an dynamic environment where the docker container could get different IPs every now and then.

from documentation.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.