diff --git a/woofbot/data/server-logs/.gitkeep b/woofbot/data/server-logs/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/woofbot/docker-compose.yml b/woofbot/docker-compose.yml index 9a92e41..df39fb9 100644 --- a/woofbot/docker-compose.yml +++ b/woofbot/docker-compose.yml @@ -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 diff --git a/woofbot/hooks/pre-start b/woofbot/hooks/pre-start new file mode 100755 index 0000000..5cc4a81 --- /dev/null +++ b/woofbot/hooks/pre-start @@ -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}" diff --git a/woofbot/umbrel-app.yml b/woofbot/umbrel-app.yml index 894def7..56b4481 100644 --- a/woofbot/umbrel-app.yml +++ b/woofbot/umbrel-app.yml @@ -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 \ No newline at end of file +submission: https://github.com/getumbrel/umbrel-apps/pull/28