diff --git a/.azure/applications/service/main.bicep b/.azure/applications/service/main.bicep index 1d170855f..5fb8a62dd 100644 --- a/.azure/applications/service/main.bicep +++ b/.azure/applications/service/main.bicep @@ -100,7 +100,7 @@ var probes = [ initialDelaySeconds: 2 type: 'Liveness' httpGet: { - path: '/health/liveness' + path: '/healthz' port: port } } @@ -109,7 +109,7 @@ var probes = [ initialDelaySeconds: 2 type: 'Readiness' httpGet: { - path: '/health/readiness' + path: '/healthz' port: port } } @@ -118,7 +118,7 @@ var probes = [ initialDelaySeconds: 2 type: 'Startup' httpGet: { - path: '/health/startup' + path: '/healthz' port: port } } @@ -152,9 +152,7 @@ module containerApp '../../modules/containerApp/main.bicep' = { name: containerAppName params: { name: containerAppName - // todo: make this dynamic based on service name. Using webapi for now. - // image: '${baseImageUrl}${serviceName}:${imageTag}' - image: '${baseImageUrl}webapi:${imageTag}' + image: '${baseImageUrl}${serviceName}:${imageTag}' location: location envVariables: containerAppEnvVars containerAppEnvId: containerAppEnvironment.id