Skip to content

Commit

Permalink
Merge pull request #150 from communitiesuk/FS-4833_add-basic-auth-to-fab
Browse files Browse the repository at this point in the history
FS-4833 - Adding basic auth to FAB
  • Loading branch information
wjrm500 authored Dec 16, 2024
2 parents 3c4f014 + 54cccc7 commit f3c6df6
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions copilot/fsd-fund-application-builder/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,41 @@ environments:
dev:
count:
spot: 1
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
test:
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:
count:
range: 2-4
Expand Down

0 comments on commit f3c6df6

Please sign in to comment.