From db970269c90ecb9343fb94279660559e889aa36d Mon Sep 17 00:00:00 2001 From: Ben Marvell Date: Tue, 22 Oct 2024 17:49:38 +0100 Subject: [PATCH] Update env vars for pipeline --- azure-pipelines-1.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/azure-pipelines-1.yml b/azure-pipelines-1.yml index e3ffaf4..c071c6d 100644 --- a/azure-pipelines-1.yml +++ b/azure-pipelines-1.yml @@ -58,7 +58,16 @@ stages: targetPort: '3000' ingress: 'external' imageToDeploy: '$(container_registry)/$(imageRepository):$(tag)' - environmentVariables: 'BACKEND_URL=$(backend_url) FRONTEND_URL=$(frontend_url) SESSION_SECRET=$(session_secret) JWT_SECRET=$(jwt_secret)' + environmentVariables: > + APP_ENV=$(app_env) + BACKEND_URL=$(backend_url) + BACKEND_PORT=$(backend_port) + FRONTEND_URL=$(frontend_url) + FRONTEND_PORT=$(frontend_port) + SESSION_SECRET=$(session_secret) + JWT_SECRET=$(jwt_secret) + REDIS_URL=$(redis_url) + REDIS_ACCESS_KEY=$(redis_access_key) # Step 4: Health check - task: Bash@3