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:
|
forward_proxy:
|
||||||
container_name: bridgehead-forward-proxy
|
container_name: bridgehead-forward-proxy
|
||||||
image: docker.verbis.dkfz.de/cache/samply/bridgehead-forward-proxy:latest
|
image: mitmproxy/mitmproxy
|
||||||
environment:
|
command: ["mitmweb", "-k", "--mode", "upstream:${HTTPS_PROXY}", "--listen-port", "3128"]
|
||||||
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
|
|
||||||
healthcheck:
|
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.
|
# 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:
|
landing:
|
||||||
container_name: bridgehead-landingpage
|
container_name: bridgehead-landingpage
|
||||||
|
|
Loading…
Reference in New Issue