-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
282 additions
and
227 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
0.2.3 | ||
0.2.4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,13 +23,235 @@ apiVersion: v1 | |
kind: Service | ||
metadata: | ||
namespace: denostr | ||
name: denostr-svc | ||
name: denostr-relay-worker-svc | ||
labels: | ||
component: denostr | ||
app: denostr | ||
component: relay-worker | ||
spec: | ||
ports: | ||
- name: ws | ||
port: 8008 | ||
port: 80 | ||
targetPort: 8008 | ||
selector: | ||
component: denostr | ||
app: denostr | ||
component: relay-worker | ||
|
||
--- | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
namespace: denostr | ||
name: denostr-relay-maintenance-svc | ||
labels: | ||
app: denostr | ||
component: relay-maintenance | ||
spec: | ||
ports: | ||
- name: ws | ||
port: 80 | ||
targetPort: 8008 | ||
selector: | ||
app: denostr | ||
component: relay-maintenance | ||
|
||
--- | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
namespace: denostr | ||
name: denostr-relay-static-mirroring-svc | ||
labels: | ||
app: denostr | ||
component: relay-static-mirroring | ||
spec: | ||
ports: | ||
- name: ws | ||
port: 80 | ||
targetPort: 8008 | ||
selector: | ||
app: denostr | ||
component: relay-static-mirroring | ||
|
||
--- | ||
apiVersion: v1 | ||
data: | ||
settings.yaml: | | ||
info: | ||
relay_url: wss://your-domain.com | ||
name: "nostr relay by denostr" | ||
description: Deno-based, cloud-native nostr implementation supported by ByteTrade and Revo, forked from nostream. | ||
pubkey: replace-with-your-pubkey-in-hex | ||
contact: mailto:[email protected] | ||
payments: | ||
enabled: false | ||
processor: lnbits | ||
feeSchedules: | ||
admission: | ||
- enabled: false | ||
description: Admission fee charged per public key in msats (1000 msats = 1 satoshi) | ||
amount: 1000000 | ||
whitelists: | ||
pubkeys: | ||
- replace-with-your-pubkey-in-hex | ||
event_kinds: | ||
- 9735 # Nip-57 Lightning Zap Receipts | ||
paymentsProcessors: | ||
zebedee: | ||
baseURL: https://api.zebedee.io/ | ||
callbackBaseURL: https://relay.your-domain.com/callbacks/zebedee | ||
ipWhitelist: | ||
- "3.225.112.64" | ||
- "::ffff:3.225.112.64" | ||
lnbits: | ||
baseURL: https://lnbits.your-domain.com/ | ||
callbackBaseURL: https://relay.your-domain.com/callbacks/lnbits | ||
lnurl: | ||
invoiceURL: https://getalby.com/lnurlp/your-username | ||
nodeless: | ||
baseURL: https://nodeless.io | ||
storeId: your-nodeless-io-store-id | ||
opennode: | ||
baseURL: api.opennode.com | ||
callbackBaseURL: https://relay.your-domain.com/callbacks/opennode | ||
network: | ||
maxPayloadSize: 524288 | ||
# Comment the next line if using CloudFlare proxy | ||
remoteIpHeader: x-forwarded-for | ||
# Uncomment the next line if using CloudFlare proxy | ||
# remoteIpHeader: cf-connecting-ip | ||
workers: | ||
count: 0 | ||
mirroring: | ||
static: [] | ||
limits: | ||
invoice: | ||
rateLimits: | ||
- period: 60000 | ||
rate: 12 | ||
- period: 3600000 | ||
rate: 30 | ||
ipWhitelist: | ||
- "::1" | ||
- "10.10.10.1" | ||
- "::ffff:10.10.10.1" | ||
connection: | ||
rateLimits: | ||
- period: 1000 | ||
rate: 24 | ||
- period: 60000 | ||
rate: 72 | ||
ipWhitelist: | ||
- "::1" | ||
- "10.10.10.1" | ||
- "::ffff:10.10.10.1" | ||
event: | ||
eventId: | ||
minLeadingZeroBits: 0 | ||
kind: | ||
whitelist: [] | ||
blacklist: [] | ||
pubkey: | ||
minBalance: 1000 | ||
minLeadingZeroBits: 0 | ||
whitelist: [] | ||
blacklist: [] | ||
createdAt: | ||
maxPositiveDelta: 900 | ||
maxNegativeDelta: 0 | ||
content: | ||
- description: 100 KB for event kind ranges 0-10 and 40-49 | ||
kinds: | ||
- - 0 | ||
- 10 | ||
- - 40 | ||
- 49 | ||
maxLength: 102400 | ||
- description: 100 KB for event kind ranges 11-39 and 50-max | ||
kinds: | ||
- - 11 | ||
- 39 | ||
- - 50 | ||
- 9007199254740991 | ||
maxLength: 102400 | ||
rateLimits: | ||
- description: 30 events/min for event kinds 0, 3, 40 and 41 | ||
kinds: | ||
- 0 | ||
- 3 | ||
- 40 | ||
- 41 | ||
period: 60000 | ||
rate: 30 | ||
- description: 144 events/min for event kinds 1, 2, 4 and 42 | ||
kinds: | ||
- 1 | ||
- 2 | ||
- 4 | ||
- 42 | ||
period: 60000 | ||
rate: 144 | ||
- description: 1200 events/min for encrypted channel event kinds 104 and 140-142 | ||
kinds: | ||
- 104 | ||
- 140 | ||
- 141 | ||
- 142 | ||
period: 60000 | ||
rate: 1200 | ||
- description: 60 events/min for event kind ranges 5-7 and 43-49 | ||
kinds: | ||
- - 5 | ||
- 7 | ||
- - 43 | ||
- 49 | ||
period: 60000 | ||
rate: 60 | ||
- description: | ||
24 events/min for replaceable events and parameterized replaceable | ||
events | ||
kinds: | ||
- - 10000 | ||
- 19999 | ||
- - 30000 | ||
- 39999 | ||
period: 60000 | ||
rate: 24 | ||
- description: 120 events/min for ephemeral events | ||
kinds: | ||
- - 20000 | ||
- 29999 | ||
period: 60000 | ||
rate: 120 | ||
- description: 4800 events/hour for all events | ||
period: 3600000 | ||
rate: 4800 | ||
whitelists: | ||
pubkeys: [] | ||
ipAddresses: | ||
- "::1" | ||
- "10.10.10.1" | ||
- "::ffff:10.10.10.1" | ||
client: | ||
subscription: | ||
maxSubscriptions: 10 | ||
maxFilters: 10 | ||
maxFilterValues: 2500 | ||
maxSubscriptionIdLength: 256 | ||
maxLimit: 5000 | ||
minPrefixLength: 4 | ||
message: | ||
rateLimits: | ||
- description: 720 raw messages/min | ||
period: 60000 | ||
rate: 720 | ||
ipWhitelist: | ||
- "::1" | ||
- "10.10.10.1" | ||
- "::ffff:10.10.10.1" | ||
kind: ConfigMap | ||
metadata: | ||
labels: | ||
app: denostr | ||
component: relay-worker | ||
name: denostr-relay-config | ||
namespace: denostr |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.