From b1fae91ee5774aede2bfab93b023e212ba963b3c Mon Sep 17 00:00:00 2001
From: Robert Butora <robert.butora@inaf.it>
Date: Sat, 1 Mar 2025 12:41:50 +0100
Subject: [PATCH] docker: adds empty default for CUTOUT URL docker param and
 updates README

---
 README.md             | 4 ++--
 docker/start-siav2.sh | 1 +
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md
index 1e1f0d4..e269403 100644
--- a/README.md
+++ b/README.md
@@ -38,8 +38,8 @@ Configuration parameters are set by these docker environment variables:
 | **DB_USERNAME** | DB user which has access to ObsTAP |
 | **DB_PASSWORD** | and user's password |
 | *optional:* |  |
-| **CUTOUT_SERVICE_URL** | URL in Service Descriptor of the VOTable response |
-| **DISCOVERY_CONTEXT_ROOT** | root of the end-points |
+| **CUTOUT_SERVICE_URL** | URL in Service Descriptor of the VOTable response (default: <empty>)|
+| **DISCOVERY_CONTEXT_ROOT** | root of the end-points (default: siav2) |
 
 
 ## vlkb-obscore
diff --git a/docker/start-siav2.sh b/docker/start-siav2.sh
index 200a147..5d45c9b 100755
--- a/docker/start-siav2.sh
+++ b/docker/start-siav2.sh
@@ -7,6 +7,7 @@ date
 env
 
 # set optional
+CUTOUT_SERVICE_URL=${CUTOUT_SERVICE_URL:-""}
 DISCOVERY_CONTEXT_ROOT=${DISCOVERY_CONTEXT_ROOT:-siav2}
 DBG_LEVEL=${DEBUG_LEVEL:-CONFIG}
 
-- 
GitLab