How can I prevent url re-writing in EventStore using Docker?

I’m trying to run a server (EventStore) in a Docker, in this case their own image. I’m running this image with the -P flag to assign external ports. (My usage makes specific port assignment impractical.)

When I start up EventStore’s image, port 2113 (their web port) is mapped to some high port, like 33125. If I enter (my_ip):33125 in my browser, it gets rewritten to something like (my_ip):2113/web/. Of course, outside the Docker port 2113 means nothing!

  • Docker healthcheck in composer file
  • How to setting Core file size in Docker container?
  • $PWD is not set in ENV instruction in a Dockerfile
  • Disk management (cleanup) in a stopped docker container
  • Docker swarm, listening in container but not outside
  • Websocket not attaching into docker container
  • How can I prevent this re-writing, or at least contain it all inside the Docker?

  • Why are large files in my Docker image getting pushed each time even when no changes have been made to them?
  • pg_dump error while running rake db:migrate
  • How to convert docker-compose setup to docker image?
  • How can I create a Jenkins Docker image that uses provided ssh keys for jenkins user?
  • how to create docker restricted network
  • Kubernetes: Unable to create repository
  • One Solution collect form web for “How can I prevent url re-writing in EventStore using Docker?”

    You have faced a know issue. The docs says:

    Note : The admin UI and atom feeds will only work if you publish the node’s http port to a matching port on the host. (i.e. you need to run the container with -p 2113:2113)

    And this is the opened issue regarding that:

    It seems that is an internal check that EventStore does, so it’s very difficult to solve from outside the server code.

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.