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

Commit

Permalink
Adding basic auth in test env
Browse files Browse the repository at this point in the history
  • Loading branch information
hamzabinkhalid committed Nov 19, 2024
1 parent 964d318 commit efb21ff
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions copilot/fsd-authenticator/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,22 @@ environments:
ALLOW_ASSESSMENT_LOGIN_VIA_MAGIC_LINK: true
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: "authenticator.${COPILOT_ENVIRONMENT_NAME}.access-funding.test.levellingup.gov.uk"
Expand Down

0 comments on commit efb21ff

Please sign in to comment.