@@ -66,7 +66,6 @@ variables:
66
66
COPILOT_ENV : ${COPILOT_ENVIRONMENT_NAME}
67
67
AWS_BUCKET_NAME :
68
68
from_cfn : ${COPILOT_APPLICATION_NAME}-${COPILOT_ENVIRONMENT_NAME}-FormUploadsBucket
69
- BASIC_AUTH_ON : false
70
69
NODE_CONFIG : ' {"safelist": ["fsd-application-store", "fsd-pre-award-stores", "fsd-pre-award", "fsd-pre-award.${COPILOT_ENVIRONMENT_NAME}.pre-award.local"]}'
71
70
NODE_ENV : production
72
71
SINGLE_REDIS : true
@@ -84,14 +83,47 @@ environments:
84
83
dev :
85
84
variables :
86
85
PREVIEW_MODE : true
87
-
88
86
count :
89
87
spot : 2
88
+ sidecars :
89
+ nginx :
90
+ port : 8087
91
+ image :
92
+ location : xscys/nginx-sidecar-basic-auth
93
+ variables :
94
+ FORWARD_PORT : 3009
95
+ CLIENT_MAX_BODY_SIZE : 10m
96
+ secrets :
97
+ BASIC_AUTH_USERNAME : /copilot/${COPILOT_APPLICATION_NAME}/${COPILOT_ENVIRONMENT_NAME}/secrets/BASIC_AUTH_USERNAME
98
+ BASIC_AUTH_PASSWORD : /copilot/${COPILOT_APPLICATION_NAME}/${COPILOT_ENVIRONMENT_NAME}/secrets/BASIC_AUTH_PASSWORD
99
+ http :
100
+ target_container : nginx
101
+ healthcheck :
102
+ path : /health-check
103
+ port : 3009
104
+
90
105
test :
91
106
variables :
92
107
PREVIEW_MODE : true
93
108
count :
94
109
spot : 2
110
+ sidecars :
111
+ nginx :
112
+ port : 8087
113
+ image :
114
+ location : xscys/nginx-sidecar-basic-auth
115
+ variables :
116
+ FORWARD_PORT : 3009
117
+ CLIENT_MAX_BODY_SIZE : 10m
118
+ secrets :
119
+ BASIC_AUTH_USERNAME : /copilot/${COPILOT_APPLICATION_NAME}/${COPILOT_ENVIRONMENT_NAME}/secrets/BASIC_AUTH_USERNAME
120
+ BASIC_AUTH_PASSWORD : /copilot/${COPILOT_APPLICATION_NAME}/${COPILOT_ENVIRONMENT_NAME}/secrets/BASIC_AUTH_PASSWORD
121
+ http :
122
+ target_container : nginx
123
+ healthcheck :
124
+ path : /health-check
125
+ port : 3009
126
+
95
127
uat :
96
128
variables :
97
129
PREVIEW_MODE : true
@@ -106,12 +138,28 @@ environments:
106
138
value : 80
107
139
requests : 30
108
140
response_time : 2s
141
+ sidecars :
142
+ nginx :
143
+ port : 8087
144
+ image :
145
+ location : xscys/nginx-sidecar-basic-auth
146
+ variables :
147
+ FORWARD_PORT : 3009
148
+ CLIENT_MAX_BODY_SIZE : 10m
149
+ secrets :
150
+ BASIC_AUTH_USERNAME : /copilot/${COPILOT_APPLICATION_NAME}/${COPILOT_ENVIRONMENT_NAME}/secrets/BASIC_AUTH_USERNAME
151
+ BASIC_AUTH_PASSWORD : /copilot/${COPILOT_APPLICATION_NAME}/${COPILOT_ENVIRONMENT_NAME}/secrets/BASIC_AUTH_PASSWORD
152
+ http :
153
+ target_container : nginx
154
+ healthcheck :
155
+ path : /health-check
156
+ port : 3009
157
+
109
158
prod :
110
159
http :
111
160
alias : ['forms.access-funding.levellingup.gov.uk', 'application-questions.access-funding.communities.gov.uk']
112
161
variables :
113
162
ACCESSIBILITY_STATEMENT_URL : " https://apply.access-funding.communities.gov.uk/accessibility_statement"
114
- BASIC_AUTH_ON : false
115
163
CONTACT_US_URL : " https://apply.access-funding.communities.gov.uk/contact_us"
116
164
COOKIE_POLICY_URL : " https://apply.access-funding.communities.gov.uk/cookie_policy"
117
165
FEEDBACK_LINK : " https://apply.access-funding.communities.gov.uk/feedback"
0 commit comments