Two defects kept strfry crash-looping since install (62,868 systemd restarts on .228): its host port 8082 collides with vaultwarden's, and the volume mounted at /strfry which the dockurr image never reads — its LMDB lives at /app/strfry-db (entrypoint default), so mdb_env_open got ENOENT even once the port was freed. 8090 is unclaimed across all manifests. Uninstalled from .228 (db was empty — it never ran); reinstall after the next catalog regen ships this manifest. NOTE: repo-wide host-port collision audit also flags did-wallet/filebrowser (8083), morphos-server/netbird-server (8086), lightning-stack/netbird (8087), fedimint-gateway/lightning-stack (9737) — latent, tracked in the hardening plan; a cross-app collision check belongs in the port allocator. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
54 lines
1.1 KiB
YAML
54 lines
1.1 KiB
YAML
app:
|
|
id: strfry
|
|
name: Strfry Nostr Relay
|
|
version: 0.9.0
|
|
description: Lightweight Nostr relay written in C++. Alternative to nostr-rs-relay with lower resource usage.
|
|
|
|
container:
|
|
image: dockurr/strfry:1.0.4
|
|
image_signature: cosign://...
|
|
pull_policy: verify-signature
|
|
|
|
dependencies:
|
|
- storage: 5Gi
|
|
|
|
resources:
|
|
cpu_limit: 1
|
|
memory_limit: 512Mi
|
|
disk_limit: 5Gi
|
|
|
|
security:
|
|
capabilities: []
|
|
readonly_root: true
|
|
no_new_privileges: true
|
|
user: 1000
|
|
seccomp_profile: default
|
|
network_policy: isolated
|
|
apparmor_profile: nostr-relay
|
|
|
|
ports:
|
|
- host: 8090
|
|
container: 8080
|
|
protocol: tcp # HTTP/WebSocket
|
|
|
|
volumes:
|
|
- type: bind
|
|
source: /var/lib/archipelago/strfry
|
|
target: /app/strfry-db
|
|
options: [rw]
|
|
|
|
environment:
|
|
- RELAY_NAME=Archipelago Strfry Relay
|
|
|
|
health_check:
|
|
type: http
|
|
endpoint: http://localhost:8090
|
|
path: /health
|
|
interval: 30s
|
|
timeout: 5s
|
|
retries: 3
|
|
|
|
nostr_integration:
|
|
relay_type: public
|
|
monetization_enabled: true
|