Update WoofBot to v0.5.2 (#353)

This commit is contained in:
WoofBot 2023-01-06 01:15:06 +02:00 committed by GitHub
parent eeeab6deaf
commit d89f9a663e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 23 additions and 9 deletions

View File

View File

@ -7,7 +7,7 @@ services:
APP_PORT: 8080
web:
image: woofbot/woofbot:v0.4.6@sha256:dd6cf833c0f5ffc3003550671228ba610e66c300cb7889b72923e6070f67d5dc
image: woofbot/woofbot:v0.5.2@sha256:55647a3ea53433047f86f2ed2bd69369e935b92609af2840abceecd0a010be10
restart: on-failure
stop_grace_period: 1m
environment:
@ -19,6 +19,8 @@ services:
APP_BITCOIN_RPC_PASS: $APP_BITCOIN_RPC_PASS
APP_BITCOIN_RPC_PORT: $APP_BITCOIN_RPC_PORT
SERVER_LOGS_FILEPATH: /app/logs/server.log
volumes:
- ${APP_DATA_DIR}/data/server-logs:/app/logs
depends_on:
- mongodb

10
woofbot/hooks/pre-start Executable file
View File

@ -0,0 +1,10 @@
#!/usr/bin/env bash
set -euo pipefail
APP_DATA_DIR="$(readlink -f $(dirname "${BASH_SOURCE[0]}")/..)/data"
[ ! -d "${APP_DATA_DIR}" ] && mkdir -p "${APP_DATA_DIR}" && chown 1000:1000 "${APP_DATA_DIR}"
SERVER_LOGS_DIR="${APP_DATA_DIR}/server-logs"
[ ! -d "${SERVER_LOGS_DIR}" ] && mkdir -p "${SERVER_LOGS_DIR}" && chown 1000:1000 "${SERVER_LOGS_DIR}"

View File

@ -1,8 +1,8 @@
manifestVersion: 1
manifestVersion: 1.1
id: woofbot
category: Finance
name: WoofBot
version: "0.4.6"
version: "0.5.2"
tagline: A chatbot for your personal node
description: >-
WoofBot is a chat bot that runs on your personal Bitcoin node and sends telegram notifications
@ -22,10 +22,12 @@ path: ""
defaultUsername: ""
defaultPassword: ""
releaseNotes: >
- Bugfix: Handling flood of new blocks after long disconnection.
- Feature: Showing current best block height when starting to watch new blocks.
- Feature: Saving logs in internal log files, for debugging.
- Upgrading to NodeJs 18 and updating dependencies
- Saving log files in data folder for debugging
- Change the default explorer from mempool.space
- Limiting user entry via a whitelist
submitter: WoofBotApp
submission: https://github.com/getumbrel/umbrel-apps/pull/28
submission: https://github.com/getumbrel/umbrel-apps/pull/28