Skip to content
This repository has been archived by the owner on Jul 25, 2024. It is now read-only.

Commit

Permalink
add basic auth sidecar on test environment
Browse files Browse the repository at this point in the history
  • Loading branch information
gidsg committed Aug 8, 2023
1 parent b72b87e commit bf8aa4b
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions copilot/data-frontend/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,19 @@ environments:
COOKIE_DOMAIN: '.access-funding.levellingup.gov.uk'
http:
alias: find-monitoring-data.access-funding.levellingup.gov.uk
test:
sidecars:
nginx:
port: 8087
image:
location: xscys/nginx-sidecar-basic-auth
variables:
FORWARD_PORT: 8080
secrets:
BASIC_AUTH_USERNAME: /copilot/${COPILOT_APPLICATION_NAME}/${COPILOT_ENVIRONMENT_NAME}/secrets/BASIC_AUTH_USERNAME
BASIC_AUTH_PASSWORD: /copilot/${COPILOT_APPLICATION_NAME}/${COPILOT_ENVIRONMENT_NAME}/secrets/BASIC_AUTH_PASSWORD
http:
target_container: 'nginx'
healthcheck:
path: /healthcheck
port: 8080

0 comments on commit bf8aa4b

Please sign in to comment.