The mempool manifest + embedded catalog declared the frontend container
port as 4080, but mempool-frontend nginx listens on 8080 (the stack
creates it as -p 4080:8080 with FRONTEND_HTTP_PORT=8080, see
api/rpc/package/stacks.rs). So every reconcile rendered the quadlet as
PublishPort=4080:4080, disagreed with the working 4080:8080 container,
and restarted it ("port binding drift" -> "host port 4080 did not become
reachable within 5s" -> "host listener disappeared; restarting") in a
perpetual loop on .228. Correcting the manifest container port to 8080
makes the rendered quadlet match reality so the drift/restart loop stops.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
60 lines
1.4 KiB
YAML
60 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
|
|
|
|
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
|