Skip to content

Commit

Permalink
should be the last tests to fix
Browse files Browse the repository at this point in the history
Signed-off-by: Nick Beenham <1985327+superbeeny@users.noreply.github.com>
  • Loading branch information
superbeeny committed Aug 21, 2024
1 parent 276a732 commit 53f6469
Show file tree
Hide file tree
Showing 7 changed files with 36 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ resource webapp 'Applications.Core/containers@2023-10-01-preview' = {
container: {
image: magpieimage
env: {
DBCONNECTION: redis.listSecrets().connectionString
DBCONNECTION: {
value: redis.listSecrets().connectionString
}
}
readinessProbe: {
kind: 'httpGet'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,15 @@ resource container 'Applications.Core/containers@2023-10-01-preview' = {
container: {
image: magpieimage
env: {
TWILIO_NUMBER: twilio.properties.fromNumber
TWILIO_SID: twilio.listSecrets().accountSid
TWILIO_ACCOUNT: twilio.listSecrets().authToken
TWILIO_NUMBER: {
value: twilio.properties.fromNumber
}
TWILIO_SID: {
value: twilio.listSecrets().accountSid
}
TWILIO_ACCOUNT: {
value: twilio.listSecrets().authToken
}
}
}
connections: {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,9 @@ resource backendcontainerdns 'Applications.Core/containers@2023-10-01-preview' =
container: {
image: magpieimage
env: {
gatewayUrl: gateway.properties.url
gatewayUrl: {
value: gateway.properties.url
}
}
ports: {
web: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,9 @@ resource backendContainer 'Applications.Core/containers@2023-10-01-preview' = {
container: {
image: magpieimage
env: {
gatewayUrl: gateway.properties.url
gatewayUrl: {
value: gateway.properties.url
}
}
ports: {
web: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,12 @@ resource frontendContainer 'Applications.Core/containers@2023-10-01-preview' = {
container: {
image: magpieimage
env: {
TLS_KEY: tlskey
TLS_CERT: tlscrt
TLS_KEY: {
value: tlskey
}
TLS_CERT: {
value: tlscrt
}
}
ports: {
web: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,9 @@ resource backendContainer 'Applications.Core/containers@2023-10-01-preview' = {
container: {
image: magpieimage
env: {
gatewayUrl: gateway.properties.url
gatewayUrl: {
value: gateway.properties.url
}
}
ports: {
web: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,15 @@ resource sqlContainer 'Applications.Core/containers@2023-10-01-preview' = {
container: {
image: sqlImage
env: {
ACCEPT_EULA: 'Y'
MSSQL_PID: 'Developer'
MSSQL_SA_PASSWORD: password
ACCEPT_EULA: {
value: 'Y'
}
MSSQL_PID: {
value: 'Developer'
}
MSSQL_SA_PASSWORD: {
value: password
}
}
ports: {
sql: {
Expand Down

0 comments on commit 53f6469

Please sign in to comment.