[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-sandcastle-ng] 03/08: sandcastle-run: Add support for specifying
From: |
gnunet |
Subject: |
[taler-sandcastle-ng] 03/08: sandcastle-run: Add support for specifying the host ip to listen on. |
Date: |
Tue, 10 Dec 2024 19:25:56 +0100 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch master
in repository sandcastle-ng.
commit 3c0f89288e1f519fda87e30b9f2f4c50c181d460
Author: Hartmut Goebel <h.goebel@crazy-compilers.com>
AuthorDate: Mon Dec 9 21:55:45 2024 +0100
sandcastle-run: Add support for specifying the host ip to listen on.
---
sandcastle-run | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/sandcastle-run b/sandcastle-run
index d038add..3b0220c 100755
--- a/sandcastle-run
+++ b/sandcastle-run
@@ -42,9 +42,10 @@ SETUP_NAME=${SANDCASTLE_SETUP_NAME:-demo}
if [[ -n ${SANDCASTLE_OVERRIDE_NAME:-} ]]; then
OVERRIDES="-v $PWD/overrides/${SANDCASTLE_OVERRIDE_NAME}:/overrides:Z"
EXTERNAL_PORT=$(source $PWD/overrides/${SANDCASTLE_OVERRIDE_NAME}; echo
${EXTERNAL_PORT:-})
+ EXTERNAL_IP=$(source $PWD/overrides/${SANDCASTLE_OVERRIDE_NAME}; echo
${EXTERNAL_IP:-})
if [[ $EXTERNAL_PORT =~ ^[0-9]+$ ]]; then
echo Serving via port $EXTERNAL_PORT
- PUBLISH_EXTERNAL_PORT="-p=${EXTERNAL_PORT}:${EXTERNAL_PORT}"
+
PUBLISH_EXTERNAL_PORT="-p=${EXTERNAL_IP}${EXTERNAL_IP:+:}${EXTERNAL_PORT}:${EXTERNAL_PORT}"
fi
else
OVERRIDES=""
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [taler-sandcastle-ng] branch master updated (25e8dbe -> 84f629d), gnunet, 2024/12/10
- [taler-sandcastle-ng] 04/08: sandcastle-run: With "external port" listen on localhost only by default., gnunet, 2024/12/10
- [taler-sandcastle-ng] 01/08: Add script sandcastle-stop., gnunet, 2024/12/10
- [taler-sandcastle-ng] 02/08: Add documentation about script 'sandcastle-plow'., gnunet, 2024/12/10
- [taler-sandcastle-ng] 03/08: sandcastle-run: Add support for specifying the host ip to listen on.,
gnunet <=
- [taler-sandcastle-ng] 08/08: setup-sandcastle: Fix error in reverse proxy config., gnunet, 2024/12/10
- [taler-sandcastle-ng] 06/08: sandcastle-logs: Pass arguments on to journalctl in container., gnunet, 2024/12/10
- [taler-sandcastle-ng] 05/08: Enhance Readme., gnunet, 2024/12/10
- [taler-sandcastle-ng] 07/08: Add documentation about script 'sandcastle-logs'., gnunet, 2024/12/10