From 4f82fbd24f12e895f9f3184554f277cc26fee011 Mon Sep 17 00:00:00 2001
From: "Antoine R. Dumont (@ardumont)" <ardumont@softwareheritage.org>
Date: Thu, 20 Mar 2025 15:09:57 +0100
Subject: [PATCH] provenance: Fix entrypoint

Refs. swh/infra/sysadm-environment#5608
---
 apps/swh-provenance/entrypoint.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/apps/swh-provenance/entrypoint.sh b/apps/swh-provenance/entrypoint.sh
index e5a5fcd13..edf26cd15 100755
--- a/apps/swh-provenance/entrypoint.sh
+++ b/apps/swh-provenance/entrypoint.sh
@@ -45,8 +45,8 @@ case "$1" in
                 echo 'Starting the swh-provenance GRPC server'
                 exec swh-provenance-grpc-serve \
                     --graph "${GRAPH_PATH}" \
-                    --database "${PROVENANCE_PATH}" \
-                    --bind ":${PORT}"
+                    --database "file://${PROVENANCE_PATH}" \
+                    --bind ":::${PORT}"
                     "${EXTRA_CLI_FLAGS[@]}" \
                 ;;
 
-- 
GitLab