Skip to content
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

HashiCorp Nomad support #125

Open
lobo235 opened this issue Oct 3, 2022 · 2 comments
Open

HashiCorp Nomad support #125

lobo235 opened this issue Oct 3, 2022 · 2 comments

Comments

@lobo235
Copy link

lobo235 commented Oct 3, 2022

Would love to be able to use mc-router easily in my Nomad clusters. It would great if I could tag a service with something like mc-router-register on my various Minecraft containers' service stanzas and have them auto-mapped in mc-router. Or, if there was a way to read the data from Consul to populate the mapped list of Minecraft servers that would be awesome too.

@itzg
Copy link
Owner

itzg commented Oct 3, 2022

If you could help locate Nomad APIs specifically for container label lookups, then that would be great. I'm guessing it's pretty similar or identical to the docker APIs.

@itzg itzg moved this to To do in Docker Minecraft Oct 12, 2022
@jcotton42
Copy link

I'm very green on nomad (only started playing with it today) but looking at the mc-router docs, there appears to be a config file.

  -routes-config string
        The path to the routes config file (env ROUTES_CONFIG)

I couldn't find any docs on this in the repo, but between that and the template block in the mc-router task in nomad, maybe you could put something together?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: To do
Development

No branches or pull requests

3 participants