Proxy #200
-
Is there a way to force LME (elastic, kibana,...) to use the system proxy for internet connection instead of direct access? Regards |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 7 replies
-
You can probably force LME to use the system proxy by manually configuring it in the docker containers. |
Beta Was this translation helpful? Give feedback.
-
In your bash environment (.bashrc) you can use this pattern to skip proxies for certain addresses. |
Beta Was this translation helpful? Give feedback.
-
you can globally edit your docker settings : https://docs.docker.com/network/proxy/ This will apply the proxy settings to all containers running on that linux machine |
Beta Was this translation helpful? Give feedback.
-
Capturing discussion from lme-devchat: We could also put in entries into the docker-compose file that set those variables from the env. If they have them set on the env it will set them in the containers. If they are not set, they will just be empty vars. I was trying to think of a way to make general customizations to the docker compose file, not just the specific instance of wanting to set up proxies. for 2.0 i would think the less 'extra directions' we have to give the better. Some folks I work with on issues would struggle with creating a config.json and implementing / understanding what theyre doing. I think they can both easily be automated. We could just generate the config.json based on env variables. The benefit of doing it directly in the docker compose would be if they had other containers that weren't LME that they wanted different settings for it wouldn't take over the entire thing |
Beta Was this translation helpful? Give feedback.
You can probably force LME to use the system proxy by manually configuring it in the docker containers.