services: electrum: build: context: . dockerfile: Dockerfile.local args: VERSION: ${ELECTRUM_VERSION:-4.7.2} container_name: telegtrum 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