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