-
-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Any way to add mapping to current instance to prevent un-graceful rebooting? #19
Comments
Until #17 you will need to use the REST API or switch to Kubernetes service discovery. |
Awesome, thanks for the clarification. |
Can you give an example of how to interact with the REST API for users who may have never interacted with one before? Is setting an API binding in the docker-compose file required, or does the container have internal tools capable of calling the API with |
With a I do not have port 25566 mapped from the host to the container in the docker-compose file, should I? |
Since you addressed the curl operation with the container IP the mapping of the port isn't needed. As for the usage, I rediscovered that examples will be very helpful, since the GET operations need the
and the POST operations need |
Awesome! In my case, |
I run multiple servers for a small group of 10-20 friends. A couple users like to hop across modpacks.
I am frequently asked to spin up a new server (a very quick task, usually), but adding the new container to the mc-router via updating the mapping command in
docker-compose.yml
, then runningdocker-compose up -d
(expectedly) causes all users connected to any server behind the proxy to be disconnected.Is there any way to add a mapping to a running mc-router container without shutting it down and restarting it?
The text was updated successfully, but these errors were encountered: