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

Make goji config-less #13

Open
byxorna opened this issue Nov 10, 2015 · 1 comment
Open

Make goji config-less #13

byxorna opened this issue Nov 10, 2015 · 1 comment

Comments

@byxorna
Copy link
Owner

byxorna commented Nov 10, 2015

Perhaps theres a way we can make goji discover its config from environment variables set on applications in marathon, instead of needing to specify each app in the config json?

Perhaps setting GOJI_NAME=myapp in an app could be discovered by goji, and automatically create the myapp.* vhost/acl rule? Just spitballing. How does this work with the options hash? TCP services?

@byxorna
Copy link
Owner Author

byxorna commented Dec 7, 2015

https://mesosphere.github.io/marathon/docs/rest-api.html#labels-object-of-string-values could be used to mark apps as exposed via goji or not. I.e. "GOJI_VHOST"="myapp.iata.company.net". GOJI_DISCOVER=true

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

No branches or pull requests

1 participant