I was recently thinking about setting up a transparent squid proxy at router level, I’m curious if it could be useful in this context.
- 0 Posts
- 7 Comments
Joined 3 years ago
Cake day: October 24th, 2023
You are not logged in. If you use a Fediverse account that is able to follow users, you can follow this user.
Do you mean I should monitor my email server running on a XP?
psychowood@alien.topBtoSelf-Hosted Main•Taipy v.3.0 - Turns Data and AI algorithms into full web applications in no time.
1·3 years ago!RemindMe 1 week
psychowood@alien.topBtoSelf-Hosted Main•How are so many sites OK with using cloudflare when they are basically a MITM?English
21·3 years agoI mean, we trust Root Certification Authorities, which are basically self-proclamed-as-trusted entities. At least CF became widespread and is community-trusted :)
I considered it, seems nice.
Problem is that they recommend a 12 physical cores and 12GB which is a waste for the usual selfhosted lab.
Since I was feeling bad for giving the wrong answer in another comment, I spin up a docker socket proxy and did some test :)
The main points are:
- add DOCKER_HOST variable pointing to your tcp socket
- add CONTAINERS=1 variable in docker-socker-proxy to allow reading containers, otherwise it will fails silently (unless you run glances with -d) with a 403
Here’s a sample compose file, adjust to your needs. Please note that the tcp socket is not exposed outside of
admin_netnetwork and that glances does not have access to thedocker.socksocket:version: '3.3' services: admin-glances: container_name: glances restart: always ports: - '61208:61208' environment: - GLANCES_OPT=-w - DOCKER_HOST=tcp://dockerproxy:2375 volumes: - './glances/glances.conf:/glances/conf/glances.conf' # - '/var/run/docker.sock:/var/run/docker.sock:ro' pid: host image: 'nicolargo/glances:latest-full' networks: admin_net: admin-docker-socket-proxy: container_name: dockerproxy hostname: dockerproxy image: tecnativa/docker-socket-proxy environment: - CONTAINERS=1 volumes: - '/var/run/docker.sock:/var/run/docker.sock:ro' # ports: # - '2375:2375' networks: admin_net: networks: admin_net: name: admin_net
Thanks, very interesting read. I’ve been to ESXi for 15 years more or less (first box was an atom miniitx vanilla board) but you really made me interested in PVE. As if I needed another project…