Skip to content

Commit

Permalink
Added startup probe to cater for AppSetup work
Browse files Browse the repository at this point in the history
  • Loading branch information
mburumaxwell committed Mar 7, 2024
1 parent 5e9e971 commit 2cc118b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions server/main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,13 @@ resource app 'Microsoft.App/containerApps@2023-05-01' = {
memory: '0.5Gi'
}
probes: [
{
type: 'Startup'
httpGet: { port: 8080, path: '/liveness' }
initialDelaySeconds: 10
timeoutSeconds: 100
failureThreshold: 10
}
{ type: 'Liveness', httpGet: { port: 8080, path: '/liveness' } }
{
type: 'Readiness'
Expand Down

0 comments on commit 2cc118b

Please sign in to comment.