From 4baf47e383047895b6e6e47523e7b35e05ee9a81 Mon Sep 17 00:00:00 2001 From: Are Almaas Date: Wed, 16 Oct 2024 14:12:10 +0200 Subject: [PATCH] Revert "chore(service): use correct docker image (#1308)" This reverts commit 462f9080529491775c5763fca6074168ee2d1fdc. --- .azure/applications/service/main.bicep | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.azure/applications/service/main.bicep b/.azure/applications/service/main.bicep index 5fb8a62dd..1d170855f 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: '/healthz' + path: '/health/liveness' port: port } } @@ -109,7 +109,7 @@ var probes = [ initialDelaySeconds: 2 type: 'Readiness' httpGet: { - path: '/healthz' + path: '/health/readiness' port: port } } @@ -118,7 +118,7 @@ var probes = [ initialDelaySeconds: 2 type: 'Startup' httpGet: { - path: '/healthz' + path: '/health/startup' port: port } } @@ -152,7 +152,9 @@ module containerApp '../../modules/containerApp/main.bicep' = { name: containerAppName params: { name: containerAppName - image: '${baseImageUrl}${serviceName}:${imageTag}' + // todo: make this dynamic based on service name. Using webapi for now. + // image: '${baseImageUrl}${serviceName}:${imageTag}' + image: '${baseImageUrl}webapi:${imageTag}' location: location envVariables: containerAppEnvVars containerAppEnvId: containerAppEnvironment.id