app: id: mempool-api name: Mempool API version: 3.0.0 description: Backend API for mempool explorer. container: image: git.tx1138.com/lfg2025/mempool-backend:v3.0.0 pull_policy: if-not-present network: archy-net secret_env: - key: CORE_RPC_PASSWORD secret_file: bitcoin-rpc-password - key: DATABASE_PASSWORD secret_file: mempool-db-password dependencies: - app_id: bitcoin-core version: ">=26.0" - app_id: electrumx version: ">=1.18.0" - app_id: archy-mempool-db version: ">=11.4.10" resources: memory_limit: 2Gi disk_limit: 20Gi security: capabilities: [] readonly_root: false network_policy: isolated ports: - host: 8999 container: 8999 protocol: tcp volumes: - type: bind source: /var/lib/archipelago/mempool target: /data options: [rw] environment: - MEMPOOL_BACKEND=electrum - ELECTRUM_HOST=electrumx - ELECTRUM_PORT=50001 - ELECTRUM_TLS_ENABLED=false - CORE_RPC_HOST=bitcoin-knots - CORE_RPC_PORT=8332 - CORE_RPC_USERNAME=archipelago - DATABASE_ENABLED=true - DATABASE_HOST=archy-mempool-db - DATABASE_DATABASE=mempool - DATABASE_USERNAME=mempool health_check: type: http endpoint: http://localhost:8999 path: / interval: 30s timeout: 5s retries: 3 bitcoin_integration: rpc_access: read-only sync_required: true