mirror of https://github.com/samply/bridgehead.git
test: use mitmproxy
This commit is contained in:
parent
122ff16bb1
commit
31aeb6c619
|
@ -32,19 +32,11 @@ services:
|
|||
|
||||
forward_proxy:
|
||||
container_name: bridgehead-forward-proxy
|
||||
image: docker.verbis.dkfz.de/cache/samply/bridgehead-forward-proxy:latest
|
||||
environment:
|
||||
HTTPS_PROXY: ${HTTPS_PROXY_URL}
|
||||
HTTPS_PROXY_USERNAME: ${HTTPS_PROXY_USERNAME}
|
||||
HTTPS_PROXY_PASSWORD: ${HTTPS_PROXY_PASSWORD}
|
||||
tmpfs:
|
||||
- /var/log/squid
|
||||
- /var/spool/squid
|
||||
volumes:
|
||||
- /etc/bridgehead/trusted-ca-certs:/docker/custom-certs/:ro
|
||||
image: mitmproxy/mitmproxy
|
||||
command: ["mitmweb", "-k", "--mode", "upstream:${HTTPS_PROXY}", "--listen-port", "3128"]
|
||||
healthcheck:
|
||||
# Wait 1s before marking this service healthy. Required for the oauth2-proxy to talk to the OIDC provider on startup which will fail if the forward proxy is not started yet.
|
||||
test: ["CMD", "sleep", "1"]
|
||||
test: ["CMD", "sleep", "10"]
|
||||
|
||||
landing:
|
||||
container_name: bridgehead-landingpage
|
||||
|
|
Loading…
Reference in New Issue