Update rusty-kaspad to version v1.1.0-1 (#5142)
Co-authored-by: Alexander L. <lackner.alex@gmail.com>
This commit is contained in:
parent
3ffdbc61b7
commit
14e984feec
@ -0,0 +1 @@
|
||||
|
||||
@ -7,36 +7,20 @@ services:
|
||||
APP_PORT: 4321
|
||||
|
||||
frontend:
|
||||
image: elldee/kaspa-frontend:v0.3.0@sha256:129cff71ec174ea69bb38313cfb2a20518fa2c1fd371e2a2aa5fa4d75b74470c
|
||||
image: elldee/kaspa-frontend:v0.4.1@sha256:a77573dfbc706b632ba24b9087685dc0b44d588c60b5399e2c2df2a19bd38a93
|
||||
restart: on-failure
|
||||
stop_grace_period: 1m
|
||||
depends_on:
|
||||
- kaspa-api
|
||||
|
||||
kaspa-api:
|
||||
image: elldee/kaspa-api:v0.3.0@sha256:272c62730984d0a89459337370d215ee75a315552e3031b1f4c4f11c673cb266
|
||||
restart: on-failure
|
||||
stop_grace_period: 1m
|
||||
environment:
|
||||
KASPAD_HOST: kaspad
|
||||
KASPAD_RPC_PORT: 18110
|
||||
KASPAD_CONTAINER_NAME: rusty-kaspad_kaspad_1
|
||||
volumes:
|
||||
- ${APP_DATA_DIR}/data/logs:/logs:ro # For log parsing
|
||||
depends_on:
|
||||
- kaspad
|
||||
|
||||
kaspad:
|
||||
image: kaspanet/rusty-kaspad:v1.1.0@sha256:150ffa0c0dcc6497951f9199d1ba3e48c7d91ef958846b28c9fb5045459a2dca
|
||||
restart: on-failure
|
||||
stop_grace_period: 1m
|
||||
stop_grace_period: 3m
|
||||
volumes:
|
||||
- ${APP_DATA_DIR}/data/app:/data
|
||||
- ${APP_DATA_DIR}/data/logs:/logs
|
||||
- ${APP_DATA_DIR}/entrypoint.sh:/entrypoint.sh:ro
|
||||
- ${APP_DATA_DIR}/data/app:/app/data
|
||||
ports:
|
||||
- 16110:16110 # GRPC
|
||||
- 16111:16111 # P2P
|
||||
- 17110:17110 # WRPC (Borsh)
|
||||
- 18110:18110 # WRPC (JSON)
|
||||
entrypoint: /entrypoint.sh
|
||||
|
||||
@ -1,39 +0,0 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
# Configuration
|
||||
LOG_DIR="/logs"
|
||||
LOG_FILE="${LOG_DIR}/kaspad_buffer.log"
|
||||
BUFFER_SIZE=10000
|
||||
|
||||
# Ensure log directory exists
|
||||
mkdir -p "${LOG_DIR}"
|
||||
|
||||
# Call the original entrypoint with kaspad and our custom arguments
|
||||
# The original entrypoint handles user switching and IP detection
|
||||
exec /app/entrypoint.sh kaspad \
|
||||
--rpclisten=0.0.0.0:16110 \
|
||||
--rpclisten-borsh=0.0.0.0:17110 \
|
||||
--rpclisten-json=0.0.0.0:18110 \
|
||||
--loglevel=info \
|
||||
--yes \
|
||||
--nologfiles \
|
||||
"$@" 2>&1 | {
|
||||
# Initialize the log file
|
||||
> "${LOG_FILE}"
|
||||
|
||||
# Read lines and maintain rolling buffer
|
||||
while IFS= read -r line; do
|
||||
echo "$line" >> "${LOG_FILE}"
|
||||
|
||||
# Check line count and trim if necessary
|
||||
LINE_COUNT=$(wc -l < "${LOG_FILE}" 2>/dev/null || echo 0)
|
||||
if [ "$LINE_COUNT" -gt "$BUFFER_SIZE" ]; then
|
||||
tail -n "$BUFFER_SIZE" "${LOG_FILE}" > "${LOG_FILE}.tmp"
|
||||
mv "${LOG_FILE}.tmp" "${LOG_FILE}"
|
||||
fi
|
||||
|
||||
# Also output to stdout for Docker logging
|
||||
echo "$line"
|
||||
done
|
||||
}
|
||||
@ -2,7 +2,7 @@ manifestVersion: 1
|
||||
id: rusty-kaspad
|
||||
category: crypto
|
||||
name: Rusty Kaspad
|
||||
version: "v1.1.0"
|
||||
version: "v1.1.0-1"
|
||||
tagline: A Rust implementation of a Kaspa full node
|
||||
description: |
|
||||
Rusty Kaspad is a Rust implementation of a Kaspa full node. This node software provides essential Kaspa network services including peer-to-peer networking and RPC functionality.
|
||||
@ -13,7 +13,7 @@ description: |
|
||||
|
||||
This package uses the Docker container maintained by [supertypo](https://hub.docker.com/r/kaspanet/rusty-kaspad), based on [Rusty Kaspa](https://github.com/kaspanet/rusty-kaspa).
|
||||
|
||||
Packaged for Umbrel by Luke Dunshea (http://luke.dunshea.au).
|
||||
Packaged for Umbrel by Luke Dunshea (https://dunshea.au).
|
||||
developer: Kaspa Community
|
||||
website: https://github.com/kaspanet/rusty-kaspa
|
||||
repo: https://github.com/kaspanet/rusty-kaspa
|
||||
@ -39,5 +39,12 @@ releaseNotes: >-
|
||||
|
||||
|
||||
Full release notes can be found at https://github.com/kaspanet/rusty-kaspa/releases
|
||||
|
||||
|
||||
Note: the `-1` suffix in this Umbrel app version indicates a frontend/package-only revision and is not a new Rusty Kaspa node release.
|
||||
|
||||
On some older installs, this update may cause the node to re-sync.
|
||||
submitter: Luke Dunshea
|
||||
submission: https://github.com/getumbrel/umbrel-apps/pull/2060
|
||||
backupIgnore:
|
||||
- data/app/*
|
||||
|
||||
Loading…
Reference in New Issue
Block a user