New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
App Submission: Public Pool #915
Changes from 8 commits
eebf64a
e91574d
7200c94
0de39b2
2f11e6f
b2e50b3
8f0233d
1bf50fc
330584e
a82998e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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; | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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: unless-stopped | ||
stop_grace_period: 30s | ||
environment: | ||
- DOMAIN=$DEVICE_DOMAIN_NAME | ||
|
||
server: | ||
image: sethforprivacy/public-pool:4bb00f2@sha256:0fc82e7123be68650c9e31f57a5a206e622acbcaa170e31219a488818ad6da6b | ||
restart: unless-stopped | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. can change to on-failure |
||
stop_grace_period: 30s | ||
ports: | ||
- "0.0.0.0:2018:2018/tcp" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think we can remove |
||
volumes: | ||
- "${APP_DATA_DIR}/data/db/public-pool-db:/public-pool/DB" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Need to add the db directory to this repo (under the If you want you can simplify the bind mount to: There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. oops thanks missed that |
||
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 | ||
Comment on lines
+33
to
+34
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I checked and both these ports are available 👌 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Now that the stratum server is port 2018, should the first gallery image be changed to reflect that? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
- 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 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
manifestVersion: 1.1 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This can be changed to |
||
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. | ||
Comment on lines
+7
to
+11
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should we add anything here about connecting a nerdminer, bitaxe, etc? Or just leave as-is? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. nah they've all got their own set-up guides, so i didn't think it would be worth adding. but if anyone reaches out asking what URL to use i could add a little extra to the description. |
||
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can change to on-failure