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:latest 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: - host: 8081 container: 8080 protocol: tcp # HTTP/WebSocket 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 endpoint: http://localhost:8081 path: /health interval: 30s timeout: 5s retries: 3 nostr_integration: relay_type: public monetization_enabled: true # Earn networking profits event_storage: sqlite