diff --git a/docker-compose.yml b/docker-compose.yml index 9778af915..ad71a4654 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -231,10 +231,10 @@ services: container_name: strfry-dev restart: unless-stopped volumes: - - ./docker/strfry/strfry.conf:/etc/strfry.conf - - ./docker/strfry/sync.sh:/app/sync.sh - - ./node/strfry/db:/app/strfry-db - - ./node/strfry/log/:/var/log/ + - ./docker/strfry/strfry.conf:/etc/strfry.conf:ro + - ./docker/strfry/sync.sh:/app/sync.sh:ro + - ./node/strfry/db:/app/strfry-db:rw + - ./node/strfry/log/:/var/log:rw network_mode: service:tor # # Postgresql for CLN diff --git a/docker/strfry/sync.sh b/docker/strfry/sync.sh index 85634e203..90f745632 100755 --- a/docker/strfry/sync.sh +++ b/docker/strfry/sync.sh @@ -2,6 +2,7 @@ filters='{"kinds":[38383]}' +/app/strfry --config /etc/strfry.conf sync ws://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 /app/strfry --config /etc/strfry.conf sync ws://jpp3w5tpxtyg6lifonisdszpriiapszzem4wod2zsdweyfenlsxeoxid.onion/nostr --filter "$filters" --dir both >> /var/log/cron.log 2>&1 /app/strfry --config /etc/strfry.conf sync ws://ghbtv7lhoyhomyir4xvxaeyqgx4ylxksia343jaat3njqqlkqpdjqcyd.onion/nostr --filter "$filters" --dir both >> /var/log/cron.log 2>&1