mirror of
https://github.com/getumbrel/umbrel-apps.git
synced 2026-12-01 01:14:34 +03:00
App Submission: Bassin (#3375)
Co-authored-by: duckaxe <> Co-authored-by: al-lac <lackner.alex@gmail.com>
This commit is contained in:
4 files changed
+141
No files matched your search
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"btcd" : [
|
||||
{
|
||||
"url": "${APP_BITCOIN_NODE_IP}:${APP_BITCOIN_RPC_PORT}",
|
||||
"auth": "${APP_BITCOIN_RPC_USER}",
|
||||
"pass": "${APP_BITCOIN_RPC_PASS}",
|
||||
"notify" : true
|
||||
}
|
||||
],
|
||||
"btcsig" : "/mined by Bassin/",
|
||||
"mindiff": 1,
|
||||
"startdiff": 42,
|
||||
"maxdiff" : 0,
|
||||
"logdir" : "/www",
|
||||
"zmqblock" : "tcp://${APP_BITCOIN_NODE_IP}:${APP_BITCOIN_ZMQ_HASHBLOCK_PORT}"
|
||||
}
|
||||
Whitespace-only changes.
@@ -0,0 +1,67 @@
|
||||
version: '3.7'
|
||||
|
||||
services:
|
||||
app_proxy:
|
||||
environment:
|
||||
APP_HOST: bassin_www_1
|
||||
APP_PORT: 80
|
||||
PROXY_AUTH_ADD: "false"
|
||||
|
||||
init:
|
||||
image: alpine:3.22.1@sha256:4bcff63911fcb4448bd4fdacec207030997caf25e9bea4045fa6c8c44de311d1
|
||||
entrypoint: >-
|
||||
/bin/sh -c '
|
||||
apk add --no-cache envsubst &&
|
||||
envsubst < /config/ckpool.conf.template > /config/ckpool.conf &&
|
||||
chown 1000:1000 /config/ckpool.conf
|
||||
'
|
||||
volumes:
|
||||
- ${APP_DATA_DIR}/data/config:/config
|
||||
environment:
|
||||
- APP_BITCOIN_NODE_IP=${APP_BITCOIN_NODE_IP}
|
||||
- APP_BITCOIN_RPC_PORT=${APP_BITCOIN_RPC_PORT}
|
||||
- APP_BITCOIN_RPC_USER=${APP_BITCOIN_RPC_USER}
|
||||
- APP_BITCOIN_RPC_PASS=${APP_BITCOIN_RPC_PASS}
|
||||
- APP_BITCOIN_ZMQ_HASHBLOCK_PORT=${APP_BITCOIN_ZMQ_HASHBLOCK_PORT}
|
||||
|
||||
ckpool:
|
||||
image: pinkyswear/ckpool-solo:latest@sha256:71ee905e7badd04ed119f84700fbd0f388fe6307a504b854558e3e6d26cae787
|
||||
entrypoint: /bin/sh -c './bin/ckpool -k -B -c /config/ckpool.conf'
|
||||
user: "1000:1000"
|
||||
depends_on:
|
||||
init:
|
||||
condition: service_completed_successfully
|
||||
restart: on-failure
|
||||
stop_grace_period: 30s
|
||||
ports:
|
||||
- "3456:3333/tcp"
|
||||
volumes:
|
||||
- ${APP_DATA_DIR}/data/config:/config:ro
|
||||
- ${APP_DATA_DIR}/data/www:/www
|
||||
|
||||
ui:
|
||||
image: ghcr.io/duckaxe/bassin-ui:main@sha256:840db0581bac0cbe743352a0155564df7e95f65064f30c720c9db78f4fbf4f2a
|
||||
entrypoint: /bin/sh -c "cp -r /ui/* /www/"
|
||||
user: "1000:1000"
|
||||
volumes:
|
||||
- ${APP_DATA_DIR}/data/www:/www
|
||||
restart: on-failure
|
||||
|
||||
www:
|
||||
image: halverneus/static-file-server:v1.8.11@sha256:2e91ce7ffb8519eeb882ba52d75c191ca6c921c16438447362128ef73ee2ea7e
|
||||
user: "1000:1000"
|
||||
environment:
|
||||
- FOLDER=/www
|
||||
- PORT=80
|
||||
volumes:
|
||||
- ${APP_DATA_DIR}/data/www:/www:ro
|
||||
depends_on:
|
||||
- ui
|
||||
restart: on-failure
|
||||
|
||||
widget-server:
|
||||
image: ghcr.io/duckaxe/umbrel-bassin-widget:main@sha256:293d4a17579bbef339c3f4595ed2dc36bef70699d34909bfa3ac20bba8facb7c
|
||||
user: "1000:1000"
|
||||
environment:
|
||||
- BASSIN_API_POOL_URL=http://bassin_www_1/pool/pool.status
|
||||
restart: on-failure
|
||||
@@ -0,0 +1,58 @@
|
||||
manifestVersion: 1
|
||||
version: "2.0.0"
|
||||
id: bassin
|
||||
name: Bassin
|
||||
tagline: Solo Bitcoin Mining Pool (ckPool)
|
||||
description: >-
|
||||
A zero-fee Bitcoin solo mining pool for Umbrel. Run your own ckPool at home.
|
||||
|
||||
|
||||
No setup, no hassle.
|
||||
- Make sure your Bitcoin node is fully synchronized and running
|
||||
- Install the app, then follow the on-screen instructions
|
||||
- Be part of decentralized mining
|
||||
|
||||
|
||||
Check out the FAQ page: https://github.com/duckaxe/bassin/wiki/FAQ
|
||||
|
||||
|
||||
For academic and research purposes only.
|
||||
category: bitcoin
|
||||
dependencies:
|
||||
- bitcoin
|
||||
releaseNotes: >-
|
||||
port: 5008
|
||||
submitter: duckaxe
|
||||
developer: duckaxe
|
||||
website: https://github.com/duckaxe
|
||||
repo: https://github.com/duckaxe/bassin
|
||||
support: https://github.com/duckaxe/bassin/issues
|
||||
submission: https://github.com/getumbrel/umbrel-apps/pull/3375
|
||||
gallery:
|
||||
- 1.jpg
|
||||
- 2.jpg
|
||||
- 3.jpg
|
||||
path: ""
|
||||
defaultUsername: ""
|
||||
defaultPassword: ""
|
||||
widgets:
|
||||
- id: "stats"
|
||||
type: "four-stats"
|
||||
refresh: "30s"
|
||||
endpoint: "widget-server:3000/widgets/pool"
|
||||
link: ""
|
||||
example:
|
||||
type: "four-stats"
|
||||
link: ""
|
||||
items:
|
||||
- title: "Hashrate"
|
||||
text: "2.10"
|
||||
subtext: "Th/s"
|
||||
- title: "Workers"
|
||||
text: "2"
|
||||
- title: "Best Share"
|
||||
text: "21"
|
||||
subtext: "G"
|
||||
- title: "Total Shares"
|
||||
text: "210"
|
||||
subtext: "M"
|
||||
Reference in new issue
Block a user