Skip to content

Commit

Permalink
use authproxy image which contains wget for healthcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewazores committed Sep 26, 2024
1 parent 8be3b8d commit 1ea788c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions compose/auth_proxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ services:
limits:
cpus: "0.1"
memory: 32m
image: ${OAUTH2_PROXY_IMAGE:-quay.io/oauth2-proxy/oauth2-proxy:latest}
image: ${OAUTH2_PROXY_IMAGE:-quay.io/oauth2-proxy/oauth2-proxy:latest-alpine}
command:
- --alpha-config=/tmp/auth_proxy_alpha_config.yml
volumes:
Expand All @@ -43,7 +43,7 @@ services:
CRYOSTAT_PROXY_PORT: ${CRYOSTAT_PROXY_PORT}
restart: unless-stopped
healthcheck:
test: wget -q --spider ${CRYOSTAT_PROXY_PROTOCOL}://localhost:${CRYOSTAT_PROXY_PORT}/ping || exit 1
test: wget --no-check-certificate -q --spider ${CRYOSTAT_PROXY_PROTOCOL}://localhost:${CRYOSTAT_PROXY_PORT}/ping || exit 1
interval: 10s
retries: 3
start_period: 10s
Expand Down

0 comments on commit 1ea788c

Please sign in to comment.