Update app.sh
Use Fulcrum endpoint from environment
This commit is contained in:
@@ -1,7 +1,15 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
set -eu
|
||||||
|
|
||||||
echo "Munin-bitcoin starting..."
|
echo "Munin-bitcoin starting..."
|
||||||
|
|
||||||
|
if [ -n "${MUNIN_FULCRUM_URL:-}" ]; then
|
||||||
|
echo "Fulcrum endpoint configured: ${MUNIN_FULCRUM_URL}"
|
||||||
|
else
|
||||||
|
echo "Warning: MUNIN_FULCRUM_URL is not configured"
|
||||||
|
fi
|
||||||
|
|
||||||
echo "Starting status API..."
|
echo "Starting status API..."
|
||||||
|
|
||||||
node /app/server/status.js &
|
node /app/server/status.js &
|
||||||
|
|||||||
Reference in New Issue
Block a user