mirror of
https://github.com/Retropex/umbrel-apps.git
synced 2025-05-12 19:30:42 +02:00
App Submission: Public Pool (#915)
* init public-pool * lock traefik * change submission PR ref * aaaa * revert * new img * change port * lock img * small fixes * use shortened volume
This commit is contained in:
parent
c8c2c1c9eb
commit
1cf7bb960e
0
public-pool/data/db/.gitkeep
Normal file
0
public-pool/data/db/.gitkeep
Normal file
11
public-pool/data/proxy/nginx.conf
Normal file
11
public-pool/data/proxy/nginx.conf
Normal file
@ -0,0 +1,11 @@
|
||||
server {
|
||||
listen 80;
|
||||
|
||||
location / {
|
||||
proxy_pass http://public-pool_web_1:80;
|
||||
}
|
||||
|
||||
location ~* ^/api/ {
|
||||
proxy_pass http://public-pool_server_1:2019;
|
||||
}
|
||||
}
|
47
public-pool/docker-compose.yml
Normal file
47
public-pool/docker-compose.yml
Normal file
@ -0,0 +1,47 @@
|
||||
version: "3.7"
|
||||
|
||||
services:
|
||||
app_proxy:
|
||||
environment:
|
||||
APP_HOST: public-pool_proxy_1
|
||||
APP_PORT: 80
|
||||
PROXY_AUTH_WHITELIST: "/api/*"
|
||||
|
||||
web:
|
||||
image: smolgrrr/public-pool-ui:0.1.0@sha256:e219808b92a9f52fc5938860a731d317cf6db1d059af3b982b02b48cbe06dc3b
|
||||
restart: on-failure
|
||||
stop_grace_period: 30s
|
||||
environment:
|
||||
- DOMAIN=$DEVICE_DOMAIN_NAME
|
||||
|
||||
server:
|
||||
image: sethforprivacy/public-pool:4bb00f2@sha256:0fc82e7123be68650c9e31f57a5a206e622acbcaa170e31219a488818ad6da6b
|
||||
restart: on-failure
|
||||
stop_grace_period: 30s
|
||||
ports:
|
||||
- "2018:2018/tcp"
|
||||
volumes:
|
||||
- "${APP_DATA_DIR}/data/db:/public-pool/DB"
|
||||
environment:
|
||||
- NODE_ENV=production
|
||||
- BITCOIN_RPC_URL=http://${APP_BITCOIN_NODE_IP}
|
||||
- BITCOIN_RPC_USER=${APP_BITCOIN_RPC_USER}
|
||||
- BITCOIN_RPC_PASSWORD=${APP_BITCOIN_RPC_PASS}
|
||||
- BITCOIN_RPC_PORT=${APP_BITCOIN_RPC_PORT}
|
||||
- BITCOIN_RPC_TIMEOUT=10000
|
||||
- BITCOIN_ZMQ_HOST="tcp://${APP_BITCOIN_NODE_IP}:${APP_BITCOIN_ZMQ_RAWBLOCK_PORT}"
|
||||
- API_PORT=2019
|
||||
- STRATUM_PORT=2018
|
||||
- NETWORK=mainnet
|
||||
- API_SECURE=false
|
||||
- ENABLE_SOLO=true
|
||||
- ENABLE_PROXY=false
|
||||
|
||||
proxy:
|
||||
image: nginx:1.25.3@sha256:4c0fdaa8b6341bfdeca5f18f7837462c80cff90527ee35ef185571e1c327beac
|
||||
volumes:
|
||||
- ${APP_DATA_DIR}/data/proxy/nginx.conf:/etc/nginx/conf.d/default.conf:ro
|
||||
depends_on:
|
||||
- web
|
||||
- server
|
||||
restart: on-failure
|
26
public-pool/umbrel-app.yml
Normal file
26
public-pool/umbrel-app.yml
Normal file
@ -0,0 +1,26 @@
|
||||
manifestVersion: 1
|
||||
id: public-pool
|
||||
category: bitcoin
|
||||
name: Public Pool
|
||||
version: "4bb00f2"
|
||||
tagline: Fully Open Source Solo Bitcoin Mining Pool
|
||||
description: >-
|
||||
Fully Open Source Solo Bitcoin Mining Pool
|
||||
|
||||
|
||||
Don't trust. Verify. On steroids.
|
||||
developer: benjamin-wilson
|
||||
website: https://web.public-pool.io/#/
|
||||
dependencies:
|
||||
- bitcoin
|
||||
repo: https://github.com/benjamin-wilson/public-pool
|
||||
support: https://github.com/benjamin-wilson/public-pool/issues
|
||||
port: 2019
|
||||
gallery:
|
||||
- 1.jpg
|
||||
- 2.jpg
|
||||
- 3.jpg
|
||||
path: ""
|
||||
defaultPassword: ""
|
||||
submitter: smolgrrr
|
||||
submission: https://github.com/getumbrel/umbrel-apps/pull/915
|
Loading…
Reference in New Issue
Block a user