-
Notifications
You must be signed in to change notification settings - Fork 9
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
Open consul connect proxies from inside the box, and forward this to the user's machine #343
Comments
Is that service then available on |
I havent check outside the box. |
We should check that, and if it is, we should document this, and make that the primary way of giving users access to the services (instead of having targets in the |
So far, research results Option 1Expose (to local machine), range of ports, which will be used for local-proxy inside the box. 1.1. You can define allowed port range assignable by Vagrant when port collision is detected via config.vm.usable_port_range property.
1.2. Using for-loop
Option 2Using vagrant cli Reference https://stackoverflow.com/a/52348660
cool part with option 2, that you can expose several ports also. Imagine you have run minio module and run local-proxy inside the box on port 9999. To expose both minio instance
On local machine, artifactory on port 7002, module on port 7001 Additional info
|
I like option 2, available from the box. You can use it without any changes. |
Right now we open proxies from outside the box. Opening these inside the box would enable us to take advantage of everything the box brings (e.g. fetching consul acl token via vault which will be implemented in #342).
Requirements:
The text was updated successfully, but these errors were encountered: