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 e6f86843df
14 changed files with 1653 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
services:
electrum:
build:
context: .
args:
VERSION: ${ELECTRUM_VERSION:-4.7.2}
container_name: electrum
env_file: .env
environment:
ALLOWED_USERS_FILE: /app/allowed_users.txt
volumes:
- electrum-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: 15s
volumes:
electrum-data: