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

Commit

Permalink
Merge pull request #96 from communitiesuk/bau-basic-auth-dev
Browse files Browse the repository at this point in the history
BAU: add basic auth on dev
  • Loading branch information
gidsg authored Mar 21, 2024
2 parents b3e69b2 + b7beee3 commit 2bd5aa5
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions copilot/data-frontend/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,20 @@ environments:
healthcheck:
path: /healthcheck
port: 8080
dev:
sidecars:
nginx:
port: 8087
image:
location: xscys/nginx-sidecar-basic-auth
variables:
FORWARD_PORT: 8080
PROXY_READ_TIMEOUT: 180s
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 2bd5aa5

Please sign in to comment.