Files
telegtrum_bot/docker-compose.local.yml
T
2026-04-26 18:02:17 +00:00

23 lines
563 B
YAML

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