diff --git a/docker/strfry/Dockerfile b/docker/strfry/Dockerfile index 5d42b72d..ef70fccd 100644 --- a/docker/strfry/Dockerfile +++ b/docker/strfry/Dockerfile @@ -2,7 +2,8 @@ FROM dockurr/strfry:0.9.6 RUN apk add --no-cache dcron torsocks -RUN echo "TorAddress 127.0.0.1:9050" > /etc/tor/torsocks.conf +RUN echo "TorAddress 127.0.0.1" >> /etc/tor/torsocks.conf +RUN echo "TorPort 9050" >> /etc/tor/torsocks.conf ADD . /app diff --git a/docker/strfry/sync.sh b/docker/strfry/sync.sh index b0b67d72..efd16094 100755 --- a/docker/strfry/sync.sh +++ b/docker/strfry/sync.sh @@ -1,6 +1,8 @@ #!/bin/sh -/app/strfry --config /app/strfry.conf sync ws://ngdk7ocdzmz5kzsysa3om6du7ycj2evxp2f2olfkyq37htx3gllwp2yd.onion/nostr --filter '{"kinds":[38383]}' --dir both >> /var/log/cron.log 2>&1 -/app/strfry --config /app/strfry.conf sync ws://satstraoq35jffvkgpfoqld32nzw2siuvowanruindbfojowpwsjdgad.onion/nostr --filter '{"kinds":[38383]}' --dir both >> /var/log/cron.log 2>&1 -/app/strfry --config /app/strfry.conf sync ws://4t4jxmivv6uqej6xzx2jx3fxh75gtt65v3szjoqmc4ugdlhipzdat6yd.onion/nostr --filter '{"kinds":[38383]}' --dir both >> /var/log/cron.log 2>&1 -/app/strfry --config /app/strfry.conf sync ws://mmhaqzuirth5rx7gl24d4773lknltjhik57k7ahec5iefktezv4b3uid.onion/nostr --filter '{"kinds":[38383]}' --dir both >> /var/log/cron.log 2>&1 +filters='{"kinds":[38383]}' + +/app/strfry --config /app/strfry.conf sync ws://ngdk7ocdzmz5kzsysa3om6du7ycj2evxp2f2olfkyq37htx3gllwp2yd.onion/nostr --filter "$filters" --dir both >> /var/log/cron.log 2>&1 +/app/strfry --config /app/strfry.conf sync ws://satstraoq35jffvkgpfoqld32nzw2siuvowanruindbfojowpwsjdgad.onion/nostr --filter "$filters" --dir both >> /var/log/cron.log 2>&1 +/app/strfry --config /app/strfry.conf sync ws://4t4jxmivv6uqej6xzx2jx3fxh75gtt65v3szjoqmc4ugdlhipzdat6yd.onion/nostr --filter "$filters" --dir both >> /var/log/cron.log 2>&1 +/app/strfry --config /app/strfry.conf sync ws://mmhaqzuirth5rx7gl24d4773lknltjhik57k7ahec5iefktezv4b3uid.onion/nostr --filter "$filters" --dir both >> /var/log/cron.log 2>&1