fix: Start oauth proxy after forward_proxy is ready

This commit is contained in:
janskiba 2024-02-15 13:13:52 +00:00 committed by juarez
parent cea577bde5
commit ef8866b943
2 changed files with 4 additions and 1 deletions

View File

@ -154,7 +154,8 @@ services:
http_proxy: "http://forward_proxy:3128" http_proxy: "http://forward_proxy:3128"
https_proxy: "http://forward_proxy:3128" https_proxy: "http://forward_proxy:3128"
depends_on: depends_on:
- forward_proxy forward_proxy:
condition: service_healthy
secrets: secrets:
opal-cert.pem: opal-cert.pem:

View File

@ -42,6 +42,8 @@ services:
- /var/spool/squid - /var/spool/squid
volumes: volumes:
- /etc/bridgehead/trusted-ca-certs:/docker/custom-certs/:ro - /etc/bridgehead/trusted-ca-certs:/docker/custom-certs/:ro
healthcheck:
test: ["CMD", "sleep", "1"]
landing: landing:
container_name: bridgehead-landingpage container_name: bridgehead-landingpage