diff --git a/minimal/docker-compose.yml b/minimal/docker-compose.yml index dc76331..ec76577 100644 --- a/minimal/docker-compose.yml +++ b/minimal/docker-compose.yml @@ -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