Skip to content

Commit

Permalink
- basic auth added to test env
Browse files Browse the repository at this point in the history
  • Loading branch information
hamzabinkhalid committed Nov 19, 2024
1 parent fdbe881 commit 1c72798
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions copilot/fsd-assessment/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,22 @@ environments:
rolling: 'recreate'
count:
spot: 2
sidecars:
nginx:
port: 8087
image:
location: xscys/nginx-sidecar-basic-auth
variables:
FORWARD_PORT: 8080
CLIENT_MAX_BODY_SIZE: 10m
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
uat:
http:
alias: "assessment.${COPILOT_ENVIRONMENT_NAME}.access-funding.test.levellingup.gov.uk"
Expand Down

0 comments on commit 1c72798

Please sign in to comment.