Initial commit: Electrum Telegram wallet bot with Tor support

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
goyban
2026-04-26 16:44:21 +00:00
commit ab537a8f73
15 changed files with 1663 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
services:
electrum:
build:
context: .
dockerfile: Dockerfile.tor
args:
VERSION: ${ELECTRUM_VERSION:-4.7.2}
container_name: electrum-tor
env_file: .env
environment:
ALLOWED_USERS_FILE: /app/allowed_users.txt
volumes:
- electrum-tor-data:/root/.electrum
- ./allowed_users.txt:/app/allowed_users.txt:ro
- ./bot.py:/app/bot.py:ro
restart: unless-stopped
healthcheck:
test: ["CMD", "electrum", "getinfo"]
interval: 30s
timeout: 10s
retries: 5
start_period: 30s
volumes:
electrum-tor-data: