From b289f7cbd2d1f374ae5eaafc27242c5b5987bb17 Mon Sep 17 00:00:00 2001 From: Blue Mouse Date: Wed, 1 Oct 2025 00:15:47 +0100 Subject: [PATCH] Add app URLs --- templates/compose/swetrix.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/templates/compose/swetrix.yaml b/templates/compose/swetrix.yaml index 216d333b5..f302ae857 100644 --- a/templates/compose/swetrix.yaml +++ b/templates/compose/swetrix.yaml @@ -11,8 +11,8 @@ services: depends_on: - swetrix-api environment: - # Required - public URL of the API service (e.g. https://swetrix-api.example.com) - - API_URL=${API_URL:?} + - SERVICE_URL_SWETRIX_3000 + - API_URL=$SERVICE_URL_SWETRIXAPI_5005 healthcheck: test: - CMD-SHELL @@ -27,6 +27,7 @@ services: environment: # Required - SECRET_KEY_BASE=$SERVICE_BASE64_64_SECRETKEYBASE + - SERVICE_URL_SWETRIXAPI_5005 # Optional - DISABLE_REGISTRATION=${DISABLE_REGISTRATION:-false}