mirror of https://github.com/samply/bridgehead.git
Use new forward proxy
This commit is contained in:
parent
e439510920
commit
7ecb39d6ce
|
@ -31,12 +31,13 @@ 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
|
||||||
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue