Of the 33 apps behind upstream, these five pull straight from a public registry, so their targets exist already and the bump is real work rather than a promise: strfry 1.0.4 -> 1.1.1 netbird (nginx) 1.27-alpine -> 1.31.3-alpine pine (nginx) 1.27-alpine -> 1.31.3-alpine pine-piper 2.2.2 -> 2.4.2 nostr-rs-relay 0.8.9 -> 0.10.0 All five targets verified present upstream with skopeo before editing, so none of these can turn into an image-not-found on a node. Deliberately NOT bumped here, though they are also direct-pull: core-lightning (v23.08 -> v26.06, ~3 years of schema migrations), gitea (four minors of DB migrations), and netbird-server/netbird-dashboard — which have to move in lockstep and carry their own migrations. Those are each a piece of work, not a line edit. The other 24 are blocked on something else entirely: their images live in our mirror and none of the upgrade targets have been mirrored yet, so a pin bump alone would break every install. That needs registry push credentials. These take effect when the catalog is regenerated and re-signed — the catalog overrides on-disk manifests, so editing here changes nothing on a node until the signing ceremony. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
67 lines
1.6 KiB
YAML
67 lines
1.6 KiB
YAML
app:
|
|
id: nostr-rs-relay
|
|
name: Nostr Relay (Rust)
|
|
version: 0.10.0
|
|
# Where this app comes from, so scripts/check-upstream-releases.py can
|
|
# tell us when the pin below has fallen behind. Without it nothing can:
|
|
# container.image names our mirror, not the project it was mirrored from.
|
|
upstream:
|
|
kind: github
|
|
repo: scsibug/nostr-rs-relay
|
|
description: High-performance Nostr relay written in Rust. Host your own decentralized social media relay and earn networking profits.
|
|
|
|
container:
|
|
image: scsibug/nostr-rs-relay:0.10.0
|
|
image_signature: cosign://...
|
|
pull_policy: verify-signature
|
|
data_uid: "1000:1000"
|
|
|
|
dependencies:
|
|
- storage: 10Gi # For event storage
|
|
|
|
resources:
|
|
cpu_limit: 2
|
|
memory_limit: 1Gi
|
|
disk_limit: 10Gi
|
|
|
|
security:
|
|
capabilities: []
|
|
readonly_root: true
|
|
no_new_privileges: true
|
|
user: 1000
|
|
seccomp_profile: default
|
|
network_policy: isolated
|
|
apparmor_profile: nostr-relay
|
|
|
|
ports:
|
|
- host: 18081
|
|
container: 8080
|
|
protocol: tcp # HTTP/WebSocket
|
|
bind: 127.0.0.1
|
|
auth: gated
|
|
|
|
volumes:
|
|
- type: bind
|
|
source: /var/lib/archipelago/nostr-relay
|
|
target: /usr/src/app/db
|
|
options: [rw]
|
|
|
|
environment:
|
|
- RELAY_NAME=Archipelago Nostr Relay
|
|
- RELAY_DESCRIPTION=Self-hosted Nostr relay on Archipelago
|
|
- MAX_EVENTS=1000000
|
|
- MAX_SUBSCRIPTIONS=100
|
|
|
|
health_check:
|
|
type: http
|
|
endpoint: http://localhost:8080
|
|
path: /
|
|
interval: 30s
|
|
timeout: 30s
|
|
retries: 5
|
|
|
|
nostr_integration:
|
|
relay_type: public
|
|
monetization_enabled: true # Earn networking profits
|
|
event_storage: sqlite
|