Add squid as a forwarding proxy so containers are exposed through a VPN

Implementation isn't perfect, but as `qbittorrent` already had an outbound VPN connection, it makes sense to just reuse it.
This commit is contained in:
Jake Howard
2022-11-06 18:26:09 +00:00
parent fc577f21b8
commit 041f791b60
5 changed files with 105 additions and 0 deletions

View File

@ -10,6 +10,8 @@ services:
- SYNAPSE_REPORT_STATS=yes
- UID={{ docker_user.id }}
- GID={{ docker_user.id }}
- HTTP_PROXY={{ pve_hosts.qbittorrent.ip }}
- HTTPS_PROXY={{ pve_hosts.qbittorrent.ip }}
volumes:
- "{{ app_data_dir }}/synapse/homeserver.yaml:/etc/homeserver.yaml"
- "{{ app_data_dir }}/synapse:/data"