mirror of
https://github.com/RoboSats/robosats-deploy.git
synced 2025-07-31 07:01:49 +00:00
Fix file
This commit is contained in:
@ -148,8 +148,8 @@ services:
|
||||
container_name: strfry${SUFFIX}
|
||||
restart: always
|
||||
volumes:
|
||||
- ${STRFRY_URL_FILE}/external_urls.txt:/app/external_urls.txt:ro
|
||||
- ${STRFRY_URL_FILE}/federation_urls.txt:/app/federation_urls.txt:ro
|
||||
- ${STRFRY_URLS_EXTERNAL}:/app/external_urls.txt:ro
|
||||
- ${STRFRY_URLS_FEDERATION}:/app/federation_urls.txt:ro
|
||||
- ${STRFRY_CONF}:/etc/strfry.conf:ro
|
||||
- ${STRFRY_DATA}/db:/app/strfry-db:rw
|
||||
network_mode: service:tor
|
||||
|
@ -29,7 +29,8 @@ NGINX_CONFD='./nginx/tn.conf.d'
|
||||
WELLKNOWN='./nginx/tn.well-known'
|
||||
|
||||
STRFRY_CONF='./env-sample/lndtn/strfry.conf'
|
||||
STRFRY_URL_FILE='./strfry/'
|
||||
STRFRY_URLS_EXTERNAL='./strfry/tn.external_urls.txt'
|
||||
STRFRY_URLS_FEDERATION='./strfry/tn.federation_urls.txt'
|
||||
STRFRY_DATA='/custom_path/testnet/strfry'
|
||||
|
||||
# Port and number of HTTP server workers for the robosats backend
|
||||
|
@ -1,14 +1,14 @@
|
||||
#!/bin/sh
|
||||
|
||||
filters='{"kinds":[38383]}'
|
||||
filters_external='{"kinds":[38383]}'
|
||||
|
||||
while IFS= read -r line; do
|
||||
/app/strfry --config /etc/strfry.conf sync ${line} --filter "$filters" --dir both
|
||||
/app/strfry --config /etc/strfry.conf sync ${line} --filter "$filters_external" --dir both
|
||||
done < /app/external_urls.txt
|
||||
|
||||
|
||||
filters='{"kinds":[38383, 31986, 1059]}'
|
||||
filters_federation='{"kinds":[38383, 31986, 1059]}'
|
||||
|
||||
while IFS= read -r line; do
|
||||
/app/strfry --config /etc/strfry.conf sync ${line} --filter "$filters" --dir both
|
||||
/app/strfry --config /etc/strfry.conf sync ${line} --filter "$filters_federation" --dir both
|
||||
done < /app/federation_urls.txt
|
||||
|
5
compose/strfry/tn.external_urls.txt
Normal file
5
compose/strfry/tn.external_urls.txt
Normal 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
|
Reference in New Issue
Block a user