Skip to content

Commit

Permalink
Push all apps to Umbrel App Repo
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven Briscoe committed Apr 30, 2022
0 parents commit cfb9bd7
Show file tree
Hide file tree
Showing 264 changed files with 5,789 additions and 0 deletions.
411 changes: 411 additions & 0 deletions README.md

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions agora/data/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/usr/bin/env sh

# Update configs
/filebrowser config init
/filebrowser config set --branding.name "Agora Admin"
/filebrowser users add umbrel ${APP_PASSWORD}

exec /filebrowser -p 8080 --baseurl "/admin/files"
14 changes: 14 additions & 0 deletions agora/data/www/admin/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<!doctype html>
<html>
<head>
<title>Agora Admin</title>
</head>
<body>
<h1>Welcome to Agora Admin!</h1>
<ul>
<li><a href="/">Download files</a></li>
<li><a href="/admin/files">Manage files</a></li>
<li><a href="https://github.com/agora-org/agora#access-configuration">Agora Configuration Docs</a></li>
</ul>
</body>
</html>
Empty file added agora/database/filebrowser.db
Empty file.
60 changes: 60 additions & 0 deletions agora/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
version: "3.7"

services:
filebrowser:
image: filebrowser/filebrowser:v2.21.1@sha256:e1f43b1b8a1acb1d7cd5f934454e7a2ef571ea3bab48b0e1ed0fa97ef9df8d69
user: 1000:1000
restart: on-failure
stop_grace_period: 1m
volumes:
- ${APP_DATA_DIR}/files:/srv
- ${APP_DATA_DIR}/database/filebrowser.db:/database.db
- ${APP_DATA_DIR}/data:/data
environment:
APP_PASSWORD: "$APP_PASSWORD"
entrypoint: /data/entrypoint.sh
networks:
default:
ipv4_address: $APP_AGORA_FILEBROWSER_IP

agora:
image: ghcr.io/agora-org/agora:sha-48d3205@sha256:35eda120a8d868c7fa3b9cbdcad7cc2245b9fe7e0c5356c8091bb0bf9a65222d
restart: on-failure
init: true
stop_grace_period: 1m
volumes:
- ${APP_DATA_DIR}/files:/files
- ${LND_DATA_DIR}:/lnd:ro
user: "1000:1000"
environment:
# LND environment variables
LND_RPC_AUTHORITY: "$LND_IP:$LND_GRPC_PORT"
TLS_CERT_PATH: "/lnd/tls.cert"
INVOICES_MACAROON_PATH: "/lnd/data/chain/bitcoin/$BITCOIN_NETWORK/invoice.macaroon"

# App specific environment variables
FILES_DIR: "/files"
AGORA_PORT: 8080
networks:
default:
ipv4_address: $APP_AGORA_SERVER_IP

nginx:
image: nginx:1.19-alpine@sha256:07ab71a2c8e4ecb19a5a5abcfb3a4f175946c001c8af288b1aa766d67b0d05d2
init: true
restart: on-failure
volumes:
- ${APP_DATA_DIR}/nginx/nginx.conf.template:/etc/nginx/templates/nginx.conf.template
- ${APP_DATA_DIR}/data/www:/usr/share/nginx/html
environment:
NGINX_ENVSUBST_OUTPUT_DIR: /etc/nginx/
APP_AGORA_SERVER_IP: $APP_AGORA_SERVER_IP
APP_AGORA_FILEBROWSER_IP: $APP_AGORA_FILEBROWSER_IP
ports:
- "$APP_AGORA_PORT:80"
depends_on:
- agora
- filebrowser
networks:
default:
ipv4_address: $APP_AGORA_IP
4 changes: 4 additions & 0 deletions agora/exports.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
export APP_AGORA_IP="10.21.21.87"
export APP_AGORA_PORT="12080"
export APP_AGORA_SERVER_IP="10.21.21.88"
export APP_AGORA_FILEBROWSER_IP="10.21.21.89"
Empty file added agora/files/.gitkeep
Empty file.
26 changes: 26 additions & 0 deletions agora/nginx/nginx.conf.template
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
events { }

http {


server {
listen 80;
server_name _;

location / {
proxy_pass http://${APP_AGORA_SERVER_IP}:8080;
}

location /admin {
root /usr/share/nginx/html;
index index.html;
}

location /admin/files {
client_max_body_size 0;
proxy_pass http://${APP_AGORA_FILEBROWSER_IP}:8080;
}

}

}
3 changes: 3 additions & 0 deletions agora/torrc.template
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# agora Hidden Service
HiddenServiceDir /data/app-agora
HiddenServicePort 80 $APP_AGORA_IP:80
27 changes: 27 additions & 0 deletions agora/umbrel-app.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
manifest: 1
id: agora
category: Files
name: Agora
version: v0.1.2
tagline: Sell your files for Bitcoin
description: >-
Agora is a project that allows anyone to sell files on the web for
bitcoin using the Lightning Network.
Agora serves the contents of a local directory, providing file listings and downloads over HTTP. For example, you can point it at a directory full of PDFs, allowing users to browse and view the PDFs in their web browser. If agora is connected to an LND node, it can be configured to require Lightning Network payments for downloads.
developer: Casey Rodarmor & Sönke Hahn
website: https://agora-org.github.io/agora/
dependencies:
- lnd
repo: https://github.com/agora-org/agora
support: https://t.me/agoradiscussion
port: 12080
gallery:
- 1.jpg
- 2.jpg
- 3.jpg
path: /admin/
deterministicPassword: true
defaultUsername: umbrel
torOnly: false
Empty file added bitfeed/data/.gitkeep
Empty file.
41 changes: 41 additions & 0 deletions bitfeed/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
version: "3.7"

services:
web:
image: ghcr.io/bitfeed-project/bitfeed-client:v2.2.1@sha256:70c89d49d20ba3da21c648c259f45a4b89e06bfe1d97374a092dce6f891d03c6
restart: on-failure
stop_grace_period: 1m
depends_on:
- "api"
environment:
TARGET: "umbrel"
BACKEND_HOST: "$APP_BITFEED_API_IP"
BACKEND_PORT: "$APP_BITFEED_API_PORT"
ports:
- "$APP_BITFEED_PORT:80"
networks:
default:
ipv4_address: $APP_BITFEED_IP

api:
image: ghcr.io/bitfeed-project/bitfeed-server:v2.2.1@sha256:60eae8109d3d6a377aec8a954f93b6be9ee48de717c9ab5810c2a5afcf688554
user: "1000:1000"
restart: on-failure
stop_grace_period: 1m
environment:
PORT: "$APP_BITFEED_API_PORT"
BITCOIN_HOST: "$BITCOIN_IP"
BITCOIN_ZMQ_RAWTX_PORT: "$BITCOIN_ZMQ_RAWTX_PORT"
BITCOIN_ZMQ_RAWBLOCK_PORT: "$BITCOIN_ZMQ_RAWBLOCK_PORT"
BITCOIN_ZMQ_SEQUENCE_PORT: "$BITCOIN_ZMQ_SEQUENCE_PORT"
BITCOIN_RPC_PORT: "$BITCOIN_RPC_PORT"
BITCOIN_RPC_USER: "$BITCOIN_RPC_USER"
BITCOIN_RPC_PASS: "$BITCOIN_RPC_PASS"
RPC_POOLS: "1"
RPC_POOL_SIZE: "16"
LOG_LEVEL: "info"
volumes:
- ${APP_DATA_DIR}/data:/app/data
networks:
default:
ipv4_address: $APP_BITFEED_API_IP
4 changes: 4 additions & 0 deletions bitfeed/exports.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
export APP_BITFEED_IP="10.21.21.68"
export APP_BITFEED_PORT="8314"
export APP_BITFEED_API_IP="10.21.21.69"
export APP_BITFEED_API_PORT="8315"
3 changes: 3 additions & 0 deletions bitfeed/torrc.template
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# bitfeed Hidden Service
HiddenServiceDir /data/app-bitfeed
HiddenServicePort 80 $APP_BITFEED_IP:80
29 changes: 29 additions & 0 deletions bitfeed/umbrel-app.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
manifest: 1
id: bitfeed
category: Explorers
name: Bitfeed
version: 2.2.1
tagline: A live visualization of your node's mempool
description: >-
A self-hosted version of Bitfeed - the open source mempool & block
visualizer available at https://bits.monospace.live.
Watch as new transactions drop into your node's mempool, before being packaged into newly mined blocks.
Monitor Bitcoin network activity, explore the composition of the latest block, or simply enjoy a soothing Bitcoin screensaver.
developer: Mononaut
website: https://monospace.live
dependencies:
- bitcoind
repo: https://github.com/bitfeed-project/bitfeed
support: https://github.com/bitfeed-project/bitfeed/issues
port: 8314
gallery:
- 1.jpg
- 2.jpg
- 3.jpg
path: ""
defaultUsername: ""
defaultPassword: ""
Empty file added bleskomat-server/data/.gitkeep
Empty file.
Empty file.
Empty file.
48 changes: 48 additions & 0 deletions bleskomat-server/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
version: "3.7"

services:

db:
image: postgres:10.20-stretch@sha256:130e08bb19199bd055e585e8938c5ebb0555dc13b445fad5b0bd727e4b75149c
user: "1000:1000"
restart: on-failure
stop_grace_period: 1m
volumes:
- $APP_DATA_DIR/data/db:/var/lib/postgresql/data
networks:
default:
ipv4_address: $APP_BLESKOMAT_SERVER_DB_IP
environment:
- POSTGRES_USER=bleskomat_server
- POSTGRES_DB=bleskomat_server
- POSTGRES_PASSWORD=moneyprintergobrrr

web:
image: bleskomat/bleskomat-server:1.3.4@sha256:7bd91b896c5ca4f69b7c9509b40ccfae273cc46120ec66b2e27b295b0186f230
user: "1000:1000"
restart: on-failure
stop_grace_period: 1m
depends_on:
- db
ports:
- "$APP_BLESKOMAT_SERVER_PORT:$APP_BLESKOMAT_SERVER_PORT"
volumes:
- $APP_DATA_DIR/data/web:/usr/src/app/data
- $LND_DATA_DIR:/lnd:ro
environment:
DEBUG: "bleskomat-server*,lnurl*"
BLESKOMAT_SERVER_HOST: "0.0.0.0"
BLESKOMAT_SERVER_PORT: "$APP_BLESKOMAT_SERVER_PORT"
BLESKOMAT_SERVER_URL: "$APP_HIDDEN_SERVICE"
BLESKOMAT_SERVER_ENDPOINT: "/u"
BLESKOMAT_SERVER_AUTH_API_KEYS: '[]'
BLESKOMAT_SERVER_LIGHTNING: '{"backend":"lnd","config":{"cert":"/lnd/tls.cert","protocol":"https","hostname":"$LND_IP:$LND_REST_PORT","macaroon":"/lnd/data/chain/bitcoin/$BITCOIN_NETWORK/admin.macaroon"}}'
BLESKOMAT_SERVER_STORE: '{"backend":"knex","config":{"client":"postgres","connection":{"host":"$APP_BLESKOMAT_SERVER_DB_IP","port":5432,"user":"bleskomat_server","password":"moneyprintergobrrr","database":"bleskomat_server"}}}'
BLESKOMAT_SERVER_COINRATES_DEFAULTS_PROVIDER: "coinbase"
BLESKOMAT_SERVER_ADMIN_WEB: "true"
BLESKOMAT_SERVER_ADMIN_PASSWORD_PLAINTEXT: "$APP_PASSWORD"
BLESKOMAT_SERVER_ENV_FILEPATH: "./data/.env"

networks:
default:
ipv4_address: $APP_BLESKOMAT_SERVER_IP
3 changes: 3 additions & 0 deletions bleskomat-server/exports.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export APP_BLESKOMAT_SERVER_PORT="3333"
export APP_BLESKOMAT_SERVER_IP="10.21.21.85"
export APP_BLESKOMAT_SERVER_DB_IP="10.21.21.86"
3 changes: 3 additions & 0 deletions bleskomat-server/torrc.template
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# bleskomat-server Hidden Service
HiddenServiceDir /data/app-bleskomat-server
HiddenServicePort 80 $APP_BLESKOMAT_SERVER_IP:$APP_BLESKOMAT_SERVER_PORT
25 changes: 25 additions & 0 deletions bleskomat-server/umbrel-app.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
manifest: 1
id: bleskomat-server
category: Wallet Servers
name: Bleskomat Server
version: v1.3.4
tagline: Connect a Bleskomat ATM to your Lightning node
description: The Bleskomat ATM is the next generation Bitcoin Lightning ATM.
This app will allow you to easily connect your Bleskomat ATM to the Lightning
node on your Umbrel. A simple web interface is provided which you can use to
manage and authorize one or more Bleskomat ATMs as well as view a list of
recent payments handled by the server.
developer: Bleskomat
website: https://www.bleskomat.com
dependencies:
- lnd
repo: https://github.com/samotari/bleskomat-server
support: https://t.me/bleskomat
port: 3333
gallery:
- 1.jpg
- 2.jpg
- 3.jpg
path: ""
deterministicPassword: true
torOnly: false
Empty file added bluewallet/data/redis/.gitkeep
Empty file.
36 changes: 36 additions & 0 deletions bluewallet/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
version: "3.7"

services:
redis:
image: "redis:6.2.2-buster@sha256:e10f55f92478715698a2cef97c2bbdc48df2a05081edd884938903aa60df6396"
user: "1000:1000"
command: "redis-server --requirepass moneyprintergobrrr"
restart: "on-failure"
stop_grace_period: "1m"
init: true
volumes:
- "${APP_DATA_DIR}/data/redis:/data"
networks:
default:
ipv4_address: "${APP_BLUEWALLET_REDIS_IP}"

lndhub:
image: "bluewalletorganization/lndhub:v1.4.1@sha256:db673a8d360982984d05f97303e26dc0e5a3eea36ba54d0abdae5bbbeef31d3a"
user: "1000:1000"
depends_on: [ "redis" ]
restart: "on-failure"
stop_grace_period: "1m"
init: true
ports:
- "${APP_BLUEWALLET_LNDHUB_PORT}:${APP_BLUEWALLET_LNDHUB_PORT}"
volumes:
- "${LND_DATA_DIR}:/lnd:ro"
environment:
PORT: "${APP_BLUEWALLET_LNDHUB_PORT}"
TOR_URL: "${APP_HIDDEN_SERVICE}"
LND_CERT_FILE: "/lnd/tls.cert"
LND_ADMIN_MACAROON_FILE: "/lnd/data/chain/bitcoin/${BITCOIN_NETWORK}/admin.macaroon"
CONFIG: '{ "rateLimit": 10000, "postRateLimit": 10000, "redis": { "port": 6379, "host": "$APP_BLUEWALLET_REDIS_IP", "family": 4, "password": "moneyprintergobrrr", "db": 0 }, "lnd": { "url": "$LND_IP:$LND_GRPC_PORT", "password": ""}}'
networks:
default:
ipv4_address: "${APP_BLUEWALLET_LNDHUB_IP}"
3 changes: 3 additions & 0 deletions bluewallet/exports.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export APP_BLUEWALLET_LNDHUB_IP="10.21.21.30"
export APP_BLUEWALLET_LNDHUB_PORT="3008"
export APP_BLUEWALLET_REDIS_IP="10.21.21.31"
2 changes: 2 additions & 0 deletions bluewallet/torrc.template
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
HiddenServiceDir /data/app-bluewallet
HiddenServicePort 80 $APP_BLUEWALLET_LNDHUB_IP:$APP_BLUEWALLET_LNDHUB_PORT
27 changes: 27 additions & 0 deletions bluewallet/umbrel-app.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
manifest: 1
id: bluewallet
category: Wallet Servers
name: BlueWallet Lightning
version: 1.4.1
tagline: Connect BlueWallet to your Lightning node
description: >-
Run BlueWallet in the most private and secure way possible by
removing 3rd parties and connecting it directly to your Umbrel's Lightning
node.
You can pair multiple BlueWallet accounts, so your friends and family can pair their BlueWallet with your Umbrel for a trust-minimized setup.
developer: BlueWallet
website: https://lndhub.io
dependencies:
- lnd
repo: https://github.com/BlueWallet/LndHub
support: https://t.me/bluewallet
port: 3008
gallery:
- 1.jpg
- 2.jpg
- 3.jpg
path: ""
defaultUsername: ""
defaultPassword: ""
Loading

0 comments on commit cfb9bd7

Please sign in to comment.