Add local/umbrel mode, rename containers to telegtrum, revert to named volumes
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
#!/usr/bin/env bash
|
||||
set -e
|
||||
|
||||
mkdir -p /root/.electrum/wallets
|
||||
|
||||
CONFIG="/root/.electrum/config"
|
||||
if [ ! -f "$CONFIG" ]; then
|
||||
echo "Writing default config..."
|
||||
cat > "$CONFIG" <<'EOF'
|
||||
{
|
||||
"auto_connect": false,
|
||||
"enable_proxy": false,
|
||||
"oneserver": true,
|
||||
"server": "umbrel.local:50001:t"
|
||||
}
|
||||
EOF
|
||||
fi
|
||||
|
||||
echo "Starting Electrum daemon..."
|
||||
rm -f /root/.electrum/daemon
|
||||
electrum daemon -d
|
||||
|
||||
echo "Electrum daemon started. Launching bot..."
|
||||
exec /opt/electrum/bin/python3 /app/bot.py
|
||||
Reference in New Issue
Block a user