Merge branch 'split-strfry-onions'

This commit is contained in:
koalasat
2025-05-03 16:19:03 +02:00
6 changed files with 16 additions and 5 deletions

View File

@ -148,7 +148,8 @@ services:
container_name: strfry${SUFFIX}
restart: always
volumes:
- ${STRFRY_URLS}:/app/onion_urls.txt:ro
- ${STRFRY_URL_FILE}/external_urls.txt:/app/external_urls.txt:ro
- ${STRFRY_URL_FILE}/federation_urls.txt:/app/federation_urls.txt:ro
- ${STRFRY_CONF}:/etc/strfry.conf:ro
- ${STRFRY_DATA}/db:/app/strfry-db:rw
network_mode: service:tor

View File

@ -29,7 +29,7 @@ NGINX_CONFD='./nginx/tn.conf.d'
WELLKNOWN='./nginx/tn.well-known'
STRFRY_CONF='./env-sample/lndtn/strfry.conf'
STRFRY_URLS='./strfry/tn.onion_urls.txt'
STRFRY_URL_FILE='./strfry/'
STRFRY_DATA='/custom_path/testnet/strfry'
# Port and number of HTTP server workers for the robosats backend

View File

@ -0,0 +1,5 @@
wss://nostr.satstralia.com
wss://freelay.sovbit.host
wss://nostrvista.aaroniumii.com
wss://relay.damus.io
wss://relay.mostro.network

View File

@ -1,5 +1,4 @@
ws://ngdk7ocdzmz5kzsysa3om6du7ycj2evxp2f2olfkyq37htx3gllwp2yd.onion/nostr
ws://satstraoq35jffvkgpfoqld32nzw2siuvowanruindbfojowpwsjdgad.onion/nostr
ws://4t4jxmivv6uqej6xzx2jx3fxh75gtt65v3szjoqmc4ugdlhipzdat6yd.onion/nostr
ws://mmhaqzuirth5rx7gl24d4773lknltjhik57k7ahec5iefktezv4b3uid.onion/nostr
ws://otmoonrndnrddqdlhu6b36heunmbyw3cgvadqo2oqeau3656wfv7fwad.onion/nostr

View File

@ -1,7 +1,14 @@
#!/bin/sh
filters='{"kinds":[38383]}'
while IFS= read -r line; do
/app/strfry --config /etc/strfry.conf sync ${line} --filter "$filters" --dir both
done < /app/external_urls.txt
filters='{"kinds":[38383, 31986, 1059]}'
while IFS= read -r line; do
/app/strfry --config /etc/strfry.conf sync ${line} --filter "$filters" --dir both
done < /app/onion_urls.txt
done < /app/federation_urls.txt

View File

@ -1,4 +1,3 @@
ws://testraliar7xkhos2gipv2k65obykofb4jqzl5l4danfryacifi4t7qd.onion/nostr
ws://jpp3w5tpxtyg6lifonisdszpriiapszzem4wod2zsdweyfenlsxeoxid.onion/nostr
ws://ghbtv7lhoyhomyir4xvxaeyqgx4ylxksia343jaat3njqqlkqpdjqcyd.onion/nostr
ws://wsjyhbashc4zrrex6vijpryujggbka5plry2o62dxqoz3pxinblnj4ad.onion/nostr