initial relay scaffold

This commit is contained in:
local
2026-05-11 20:03:27 -05:00
commit b9d86fa303
58 changed files with 7609 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
#!/bin/sh
set -eu
DATA_DIR="/data"
CONFIG_DIR="$DATA_DIR/config"
mkdir -p "$CONFIG_DIR"
# Ensure the volume is writable by the non-root node user
chown -R 1001:1001 "$DATA_DIR" 2>/dev/null || true
export DATA_DIR="$DATA_DIR"
export PORT="${PORT:-3002}"
export HOSTNAME="0.0.0.0"
echo "Starting Recap Relay..."
echo " Node: $(node --version)"
echo " Data: $DATA_DIR"
echo " Port: $PORT"
cd /app/server
exec node index.js