mirror of
https://github.com/RoboSats/robosats.git
synced 2025-01-31 02:21:35 +00:00
Working
This commit is contained in:
parent
c1e9da5c6f
commit
b7f9f1827e
@ -228,12 +228,12 @@ services:
|
||||
|
||||
strfry:
|
||||
build: ./docker/strfry
|
||||
command: /app/strfry.sh
|
||||
container_name: strfry-dev
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./docker/strfry/strfry.conf:/app/strfry.conf
|
||||
- ./node/strfry/db:/app/strfry-db
|
||||
- ./docker/strfry:/etc/strfry
|
||||
- ./node/strfry/log/:/var/log/
|
||||
network_mode: service:tor
|
||||
|
||||
# # Postgresql for CLN
|
||||
|
@ -1,11 +1,11 @@
|
||||
FROM dockurr/strfry:0.9.6
|
||||
|
||||
USER root
|
||||
RUN apk add --no-cache dcron curl iproute2
|
||||
|
||||
RUN apk add --no-cache dcron
|
||||
ADD . /app
|
||||
|
||||
RUN crontab -u root /etc/crontab
|
||||
COPY entrypoint.sh /etc/strfry/entrypoint.sh
|
||||
|
||||
ENTRYPOINT ["/etc/entrypoint.sh"]
|
||||
RUN chmod +x /etc/strfry/entrypoint.sh
|
||||
|
||||
CMD ["$@"]
|
||||
ENTRYPOINT ["/etc/strfry/entrypoint.sh"]
|
||||
|
@ -21,4 +21,4 @@
|
||||
# For more information see the manual pages of crontab(5) and cron(8)
|
||||
#
|
||||
# m h dom mon dow command
|
||||
*/1 * * * * bash '/app/strfry sync wss://nostr.satstralia.com --dir both >> /var/log/cron.log 2>&1'
|
||||
*/1 * * * * /app/strfry --config /app/strfry.conf sync wss://nostr.satstralia.com --dir both >> /var/log/cron.log 2>&1
|
||||
|
@ -1,3 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
crond -f -l 8
|
||||
crontab /app/crontab
|
||||
|
||||
crond -f -l 8 & /app/strfry.sh
|
@ -3,7 +3,7 @@
|
||||
##
|
||||
|
||||
# Directory that contains the strfry LMDB database (restart required)
|
||||
db = "./strfry-db/"
|
||||
db = "/app/strfry-db/"
|
||||
|
||||
dbParams {
|
||||
# Maximum number of threads/processes that can simultaneously have LMDB transactions open (restart required)
|
||||
|
Loading…
Reference in New Issue
Block a user