Master-plan backlog §10b/§10c: replace two per-app-hardcoded lookups with generic, manifest-driven behavior so future apps are covered automatically instead of needing a code edit. - extract_lan_address (docker_packages.rs) now skips container-side ports that are known non-HTTP (SSH, FTP, common DB ports) instead of blindly taking podman's first-listed port. Fixes the whole class of bug the gitea SSH-before-web static override was a one-off patch for. - requires_unpruned_bitcoin (dependencies.rs) now checks the app's own manifest for a `bitcoin:archival` dependency declaration first, falling back to the old hardcoded id list. electrumx and mempool manifests now declare it explicitly as the proof case. 869/869 Rust tests green, catalog drift clean. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
61 lines
1.4 KiB
YAML
61 lines
1.4 KiB
YAML
app:
|
|
id: mempool
|
|
name: Mempool Explorer
|
|
version: 3.0.0
|
|
description: Bitcoin mempool and blockchain explorer. Real-time transaction and block visualization.
|
|
|
|
container:
|
|
image: 146.59.87.168:3000/lfg2025/mempool-frontend:v3.0.1
|
|
image_signature: cosign://...
|
|
pull_policy: if-not-present
|
|
|
|
dependencies:
|
|
- app_id: bitcoin-core
|
|
version: ">=24.0"
|
|
- storage: 20Gi
|
|
- bitcoin:archival
|
|
|
|
resources:
|
|
cpu_limit: 2
|
|
memory_limit: 2Gi
|
|
disk_limit: 20Gi
|
|
|
|
security:
|
|
capabilities: []
|
|
readonly_root: true
|
|
no_new_privileges: true
|
|
user: 1000
|
|
seccomp_profile: default
|
|
network_policy: isolated
|
|
apparmor_profile: mempool
|
|
|
|
ports:
|
|
- host: 4080
|
|
container: 8080 # mempool-frontend nginx listens on 8080 (FRONTEND_HTTP_PORT=8080)
|
|
protocol: tcp # Web UI
|
|
|
|
volumes:
|
|
- type: bind
|
|
source: /var/lib/archipelago/mempool
|
|
target: /data
|
|
options: [rw]
|
|
|
|
environment:
|
|
- MEMPOOL_BACKEND=electrum
|
|
- MEMPOOL_BITCOIN_HOST=bitcoin-core
|
|
- MEMPOOL_BITCOIN_PORT=8332
|
|
- MEMPOOL_BITCOIN_USER=${BITCOIN_RPC_USER}
|
|
- MEMPOOL_BITCOIN_PASSWORD=${BITCOIN_RPC_PASSWORD}
|
|
|
|
health_check:
|
|
type: http
|
|
endpoint: http://localhost:4080
|
|
path: /api/health
|
|
interval: 30s
|
|
timeout: 5s
|
|
retries: 3
|
|
|
|
bitcoin_integration:
|
|
rpc_access: read-only
|
|
sync_required: true
|