Initial commit: Electrum Telegram wallet bot with Tor support
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -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:
|
||||
Reference in New Issue
Block a user