swarmpit / agent

Swarmpit docker agent
16 stars 13 forks source link

Adding ENV to use socket proxy #10

Open sando38 opened 2 years ago

sando38 commented 2 years ago

It would be nice to also configure the agent to use a socket proxy like the main app can:

Swarmpits behavior can be reconfigured via Environment Variables. SWARMPIT_DOCKER_SOCK

Docker SOCK location used by docker client. In case of socket proxy use following format: http://TCPENDPOINT:2375. Default is /var/run/docker.sock.

Thanks in advance, also for any hints, ideas, considersations in the meantime :)

kaysond commented 2 years ago

Bump. Can someone on the swarmpit team point us in the right direction for a PR?

kaysond commented 2 years ago

Looks like you might be able to do it just by setting the DOCKER_HOST env var