mirror of
https://github.com/RoboSats/robosats.git
synced 2024-12-27 14:22:58 +03:00
Logs to docker
This commit is contained in:
parent
ab1a488a4b
commit
507082d865
@ -234,7 +234,6 @@ services:
|
||||
- ./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
|
||||
|
@ -1,11 +1,14 @@
|
||||
FROM dockurr/strfry:0.9.6
|
||||
|
||||
RUN apk add --no-cache dcron torsocks
|
||||
RUN apk add --no-cache torsocks
|
||||
|
||||
RUN echo "TorAddress 127.0.0.1" >> /etc/tor/torsocks.conf
|
||||
RUN echo "TorPort 9050" >> /etc/tor/torsocks.conf
|
||||
|
||||
COPY crontab /app/crontab
|
||||
# Setting up crontab
|
||||
COPY crontab /tmp/crontab
|
||||
RUN cat /tmp/crontab > /etc/crontabs/root
|
||||
|
||||
COPY entrypoint.sh /etc/strfry/entrypoint.sh
|
||||
|
||||
RUN chmod +x /etc/strfry/entrypoint.sh
|
||||
|
@ -1,5 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
crontab /app/crontab
|
||||
|
||||
crond -f -l 8 & /app/strfry.sh
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
filters='{"kinds":[38383]}'
|
||||
|
||||
/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
|
||||
/app/strfry --config /etc/strfry.conf sync ws://wsjyhbashc4zrrex6vijpryujggbka5plry2o62dxqoz3pxinblnj4ad.onion/nostr --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
|
||||
/app/strfry --config /etc/strfry.conf sync ws://jpp3w5tpxtyg6lifonisdszpriiapszzem4wod2zsdweyfenlsxeoxid.onion/nostr --filter "$filters" --dir both
|
||||
/app/strfry --config /etc/strfry.conf sync ws://ghbtv7lhoyhomyir4xvxaeyqgx4ylxksia343jaat3njqqlkqpdjqcyd.onion/nostr --filter "$filters" --dir both
|
||||
/app/strfry --config /etc/strfry.conf sync ws://wsjyhbashc4zrrex6vijpryujggbka5plry2o62dxqoz3pxinblnj4ad.onion/nostr --filter "$filters" --dir both
|
||||
|
Loading…
Reference in New Issue
Block a user