archy/apps/nostr-rs-relay/manifest.yml

55 lines
1.2 KiB
YAML
Raw Normal View History

2026-01-24 22:01:51 +00:00
app:
id: nostr-rs-relay
name: Nostr Relay (Rust)
version: 0.8.0
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.8.9
2026-01-24 22:01:51 +00:00
image_signature: cosign://...
pull_policy: verify-signature
dependencies:
- storage: 10Gi # For event storage
resources:
cpu_limit: 2
memory_limit: 1Gi
disk_limit: 10Gi
security:
capabilities: []
readonly_root: true
network_policy: isolated
apparmor_profile: nostr-relay
ports:
2026-01-24 23:18:24 +00:00
- host: 8081
container: 8080
protocol: tcp # HTTP/WebSocket
2026-01-24 22:01:51 +00:00
volumes:
- type: bind
source: /var/lib/archipelago/nostr-relay
target: /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
2026-01-24 23:18:24 +00:00
endpoint: http://localhost:8081
2026-01-24 22:01:51 +00:00
path: /health
interval: 30s
timeout: 5s
retries: 3
nostr_integration:
relay_type: public
monetization_enabled: true # Earn networking profits
event_storage: sqlite