Nodes offer an update when the signed catalog pins something newer than what's running, and that machinery is fine. The missing step was the one before it: nothing told *us* when upstream shipped. A pin could sit at fedimintd v0.10.0 for months while every node in the fleet correctly and confidently reported "up to date". The reason nothing could tell us is that a manifest records only our mirror — `source.archipelago-foundation.org/lfg2025/fedimintd:v0.10.0` says nothing about the project it was mirrored from. So this adds an optional `app.upstream` block naming the real source, and a script that asks each one what it has released. Running it answers the question that prompted this. Of 58 apps, 28 are behind, including LND v0.18.4-beta against v0.21.2-beta, Bitcoin Core 28.4 against 31.1, and fedimintd/gatewayd v0.10.0 against v0.10.1. Two choices worth stating. An app with no `upstream` block is reported as UNTRACKED rather than skipped — a silent skip is how this stayed invisible, and before this commit all 58 were silently skipped. And a suggestion prefers our own tag variant: telling someone pinned to `postgres:16.13-alpine` that the newest tag is `18.6-trixie` is true and useless, because swapping the base image is a different decision from bumping a version. Five apps are deliberately left untracked (barkd, immich-postgres, indeedhub-minio, lightning-stack, pine-whisper): I could not establish their upstream with confidence, and a wrong `repo` produces a confident wrong verdict, which is worse than an honest gap. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
79 lines
1.9 KiB
YAML
79 lines
1.9 KiB
YAML
app:
|
|
id: router
|
|
name: Mesh Router
|
|
version: 1.0.0
|
|
# Built by this project — there is no upstream release feed to watch.
|
|
upstream:
|
|
kind: internal
|
|
description: Mesh routing and local network management. Provides device discovery, routing, and network topology visualization.
|
|
|
|
container:
|
|
image: archipelago/router:1.0.0
|
|
image_signature: cosign://...
|
|
pull_policy: if-not-present
|
|
|
|
dependencies:
|
|
- storage: 500Mi
|
|
|
|
resources:
|
|
cpu_limit: 2
|
|
memory_limit: 512Mi
|
|
disk_limit: 500Mi
|
|
|
|
security:
|
|
capabilities: [NET_ADMIN, NET_RAW] # Required for network management
|
|
readonly_root: true
|
|
no_new_privileges: true
|
|
user: 1000
|
|
seccomp_profile: default
|
|
network_policy: host # Requires host network for routing
|
|
apparmor_profile: router
|
|
|
|
ports:
|
|
- host: 8084
|
|
container: 8080
|
|
protocol: tcp # Web UI
|
|
bind: 127.0.0.1
|
|
auth: gated
|
|
- host: 5353
|
|
container: 5353
|
|
protocol: udp # mDNS/Bonjour
|
|
auth: none
|
|
auth_rationale: >-
|
|
mDNS is UDP multicast service discovery; gating it would break .local name resolution for every device on the LAN.
|
|
- host: 1900
|
|
container: 1900
|
|
protocol: udp # SSDP
|
|
auth: none
|
|
auth_rationale: >-
|
|
SSDP/UPnP discovery is UDP multicast — there is no HTTP request to gate and no client that could hold a session.
|
|
|
|
volumes:
|
|
- type: bind
|
|
source: /var/lib/archipelago/router
|
|
target: /app/data
|
|
options: [rw]
|
|
- type: bind
|
|
source: /var/run/dbus
|
|
target: /var/run/dbus
|
|
options: [ro]
|
|
|
|
environment:
|
|
- NETWORK_INTERFACE=eth0
|
|
- MESH_ENABLED=true
|
|
- DEVICE_DISCOVERY=true
|
|
|
|
health_check:
|
|
type: http
|
|
endpoint: http://localhost:8084
|
|
path: /health
|
|
interval: 30s
|
|
timeout: 5s
|
|
retries: 3
|
|
|
|
networking:
|
|
mesh_enabled: true
|
|
local_network_access: true
|
|
device_discovery: true
|
|
routing_protocols: [olsr, babel]
|