Tesnet sync

This commit is contained in:
koalasat
2024-07-24 18:10:27 +02:00
parent 658576e612
commit 2c3753d7e4
4 changed files with 8 additions and 2 deletions

View File

@ -148,7 +148,7 @@ services:
container_name: strfry${SUFFIX}
restart: always
volumes:
- ./strfry/sync.sh:/app/sync.sh
- ${STRFRY_SYNC}:/app/sync.sh
- ${STRFRY_CONF}:/etc/strfry.conf
- ${STRFRY_DATA}/db:/app/strfry-db
- ${STRFRY_DATA}/log/:/var/log/

View File

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

View File

@ -2,7 +2,6 @@
filters='{"kinds":[38383]}'
/app/strfry --config /etc/strfry.conf sync wss://nostr.satstralia.com --filter "$filters" --dir both >> /var/log/cron.log 2>&1
/app/strfry --config /etc/strfry.conf sync ws://ngdk7ocdzmz5kzsysa3om6du7ycj2evxp2f2olfkyq37htx3gllwp2yd.onion/nostr --filter "$filters" --dir both >> /var/log/cron.log 2>&1
/app/strfry --config /etc/strfry.conf sync ws://satstraoq35jffvkgpfoqld32nzw2siuvowanruindbfojowpwsjdgad.onion/nostr --filter "$filters" --dir both >> /var/log/cron.log 2>&1
/app/strfry --config /etc/strfry.conf sync ws://4t4jxmivv6uqej6xzx2jx3fxh75gtt65v3szjoqmc4ugdlhipzdat6yd.onion/nostr --filter "$filters" --dir both >> /var/log/cron.log 2>&1

View File

@ -0,0 +1,6 @@
#!/bin/sh
filters='{"kinds":[38383]}'
/app/strfry --config /etc/strfry.conf sync wss://nostr.satstralia.com --filter "$filters" --dir both >> /var/log/cron.log 2>&1
/app/strfry --config /etc/strfry.conf sync ws://testraliar7xkhos2gipv2k65obykofb4jqzl5l4danfryacifi4t7qd.onion/nostr --filter "$filters" --dir both >> /var/log/cron.log 2>&1