Use new forward proxy

This commit is contained in:
Martin Lablans 2022-10-11 18:29:08 +02:00
parent e439510920
commit 7ecb39d6ce
1 changed files with 10 additions and 7 deletions

View File

@ -31,12 +31,13 @@ services:
forward_proxy:
container_name: bridgehead-forward-proxy
image: samply/bridgehead-forward-proxy:develop
image: samply/bridgehead-forward-proxy:main
environment:
http_proxy: ${HTTP_PROXY_URL}
https_proxy: ${HTTPS_PROXY_URL}
HTTPS_PROXY: ${HTTPS_PROXY_URL}
USERNAME: ${HTTPS_PROXY_USERNAME}
PASSWORD: ${HTTPS_PROXY_PASSWORD}
volumes:
- "bridgehead-proxy:/var/log/squid"
- /etc/bridgehead/trusted-ca-certs:/docker/custom-certs/:ro
landing:
container_name: bridgehead-landingpage
@ -60,7 +61,7 @@ services:
LOG_LEVEL: "debug"
ENFORCE_REFERENTIAL_INTEGRITY: "false"
volumes:
- "blaze-data:/app/data"
- "blaze-data:/app/data"
labels:
- "traefik.enable=true"
- "traefik.http.middlewares.ccp-auth.basicauth.users=${bc_auth_users}"
@ -98,17 +99,19 @@ services:
PRIVKEY_FILE: /run/secrets/proxy.pem
RUST_LOG: debug
ALL_PROXY: http://forward_proxy:3128
TLS_CA_CERTIFICATES_DIR: /conf/trusted-ca-certs
secrets:
- proxy.pem
labels:
- "traefik.enable=false"
depends_on:
- "forward_proxy"
volumes:
- /etc/bridgehead/trusted-ca-certs:/conf/trusted-ca-certs:ro
volumes:
blaze-data:
bridgehead-proxy:
secrets:
proxy.pem: