# Ready-to-deploy Telegtrum. Pulls the published image — no source checkout, # no build, no bind mounts. # # curl -O https://git.goyban.com/goyban/telegtrum_bot/raw/branch/main/docker-compose.deploy.yml # curl -O https://git.goyban.com/goyban/telegtrum_bot/raw/branch/main/.env.deploy.example # mv .env.deploy.example .env && nano .env # docker compose -f docker-compose.deploy.yml up -d services: telegtrum: container_name: telegtrum image: git.goyban.com/goyban/telegtrum:latest env_file: .env environment: # Allow-list comes from .env, so there is no file to create or mount. ALLOWED_USERS: ${ALLOWED_USERS:?set ALLOWED_USERS in .env - comma separated Telegram user IDs} ALLOWED_USERS_FILE: /nonexistent volumes: # Wallets, Electrum config and the blockchain headers live here. # Back this up: docker run --rm -v telegtrum-data:/d -v "$PWD":/b \ # debian:bookworm-slim tar czf /b/telegtrum-backup.tar.gz -C /d . - telegtrum-data:/root/.electrum restart: unless-stopped healthcheck: test: ["CMD", "electrum", "getinfo"] interval: 30s timeout: 10s retries: 5 start_period: 30s volumes: telegtrum-data: