Steven Briscoe
3 years ago
committed by
GitHub
35 changed files with 193 additions and 29 deletions
@ -0,0 +1,63 @@ |
|||
version: "3.8" |
|||
|
|||
services: |
|||
app_proxy: |
|||
environment: |
|||
APP_HOST: $APP_ELEMENTS_IP |
|||
APP_PORT: 8080 |
|||
|
|||
node: |
|||
image: ghcr.io/vulpemventures/elements:0.21.0.2@sha256:60f082b13b366743ef3cd113cb20397b586fd7032c0eb9c0a2a242ebc528f537 |
|||
restart: on-failure |
|||
stop_grace_period: 1m |
|||
ports: |
|||
- $APP_ELEMENTS_NODE_RPC_PORT:$APP_ELEMENTS_NODE_RPC_PORT # JSONRPC |
|||
- $APP_ELEMENTS_NODE_P2P_PORT:$APP_ELEMENTS_NODE_P2P_PORT # P2P PORT |
|||
volumes: |
|||
- ${APP_DATA_DIR}/data:/home/elements/.elements |
|||
command: |
|||
- -listen=1 |
|||
- -txindex=1 |
|||
# Current Elements Core requires >8GB of RAM to verify confidential proofs during IBD |
|||
# We skip historical block verification for now, as we don't have a way to set the memory limit |
|||
- -assumevalid=d4046e2c27e32e8582af39e402528e5df6ede1e1dd3c551764699e02e50bbf1e |
|||
- -validatepegin=1 |
|||
- -fallbackfee=0.000001 |
|||
# Attach to Bitcoin network |
|||
- -mainchainrpchost=$APP_BITCOIN_NODE_IP |
|||
- -mainchainrpcport=$APP_BITCOIN_RPC_PORT |
|||
- -mainchainrpcuser=$APP_BITCOIN_RPC_USER |
|||
- -mainchainrpcpassword=$APP_BITCOIN_RPC_PASS |
|||
# Elements RPC |
|||
- -rpcuser=elements |
|||
- -rpcpassword=$APP_PASSWORD |
|||
- -rpcbind=0.0.0.0 # can we do better here? |
|||
- -rpcallowip=0.0.0.0/0 # can we do better here? |
|||
- -rpcport=$APP_ELEMENTS_NODE_RPC_PORT |
|||
# P2P |
|||
- -port=$APP_ELEMENTS_NODE_P2P_PORT |
|||
- -blockfilterindex=1 |
|||
- -peerblockfilters=1 |
|||
networks: |
|||
default: |
|||
ipv4_address: $APP_ELEMENTS_NODE_IP |
|||
|
|||
web: |
|||
image: ghcr.io/tiero/elements-web:v0.0.3@sha256:b80dc0df2a4693668a97b874aad6d0a8d3239d03f4d05b4342600166934d0b87 |
|||
depends_on: |
|||
- node |
|||
restart: on-failure |
|||
environment: |
|||
RPC_USER: elements |
|||
RPC_PASS: $APP_PASSWORD |
|||
RPC_PORT: $APP_ELEMENTS_NODE_RPC_PORT |
|||
RPC_HOST: $APP_ELEMENTS_NODE_IP |
|||
P2P_PORT: $APP_ELEMENTS_NODE_P2P_PORT |
|||
# Remote |
|||
REMOTE_RPC_HOST: $APP_ELEMENTS_RPC_HIDDEN_SERVICE |
|||
REMOTE_P2P_HOST: $APP_ELEMENTS_P2P_HIDDEN_SERVICE |
|||
networks: |
|||
default: |
|||
ipv4_address: $APP_ELEMENTS_IP |
|||
|
|||
|
@ -0,0 +1,11 @@ |
|||
export APP_ELEMENTS_PORT="3042" |
|||
export APP_ELEMENTS_IP="10.21.21.91" |
|||
export APP_ELEMENTS_NODE_IP="10.21.21.92" |
|||
export APP_ELEMENTS_NODE_RPC_PORT="7041" |
|||
export APP_ELEMENTS_NODE_P2P_PORT="18332" |
|||
|
|||
local app_elements_rpc_hidden_service_file="${EXPORTS_TOR_DATA_DIR}/app-${EXPORTS_APP_ID}-rpc/hostname" |
|||
local app_elements_p2p_hidden_service_file="${EXPORTS_TOR_DATA_DIR}/app-${EXPORTS_APP_ID}-p2p/hostname" |
|||
|
|||
export APP_ELEMENTS_RPC_HIDDEN_SERVICE="$(cat "${app_elements_rpc_hidden_service_file}" 2>/dev/null || echo "notyetset.onion")" |
|||
export APP_ELEMENTS_P2P_HIDDEN_SERVICE="$(cat "${app_elements_p2p_hidden_service_file}" 2>/dev/null || echo "notyetset.onion")" |
@ -0,0 +1,11 @@ |
|||
# elements rpc Hidden Service |
|||
HiddenServiceDir /data/app-$APP_ID-rpc |
|||
HiddenServicePort $APP_ELEMENTS_NODE_RPC_PORT $APP_ELEMENTS_NODE_IP:$APP_ELEMENTS_NODE_RPC_PORT |
|||
|
|||
# elements p2p Hidden Service |
|||
HiddenServiceDir /data/app-$APP_ID-p2p |
|||
HiddenServicePort $APP_ELEMENTS_NODE_P2P_PORT $APP_ELEMENTS_NODE_IP:$APP_ELEMENTS_NODE_P2P_PORT |
|||
|
|||
# elements Hidden Service |
|||
HiddenServiceDir /data/app-$APP_ID |
|||
HiddenServicePort 80 $APP_PROXY_HOSTNAME:$APP_PROXY_PORT |
@ -0,0 +1,23 @@ |
|||
id: elements |
|||
category: Wallet Servers |
|||
name: Elements Core |
|||
version: v0.21.0.2 |
|||
tagline: Liquid Network full node |
|||
description: Elements is an open source full node implementation to run the Liquid |
|||
Network, a Bitcoin layer-2 solution enabling the fast, confidential settlement and |
|||
issuance of digital assets, such as stablecoins, security tokens, and other financial |
|||
instruments, on top of the Bitcoin timechain. |
|||
developer: Elements Core Developers |
|||
website: https://elementsproject.org |
|||
dependencies: |
|||
- bitcoin |
|||
repo: https://github.com/ElementsProject/elements |
|||
support: https://t.me/liquid_community |
|||
port: 3042 |
|||
gallery: |
|||
- 1.jpg |
|||
- 2.jpg |
|||
- 3.jpg |
|||
path: '' |
|||
deterministicPassword: false |
|||
torOnly: false |
@ -0,0 +1 @@ |
|||
|
@ -0,0 +1,22 @@ |
|||
version: "3.7" |
|||
|
|||
services: |
|||
app_proxy: |
|||
environment: |
|||
APP_HOST: $APP_IPFS_PODCASTING_IP |
|||
APP_PORT: $APP_IPFS_PODCASTING_PORT |
|||
|
|||
web: |
|||
image: ipfspodcasting/podcastnode:v0.5@sha256:aa56c571494323f210677ad4291ffead0fff31a1da1544766557e54b413f43d0 |
|||
init: true |
|||
restart: on-failure |
|||
stop_grace_period: 1m |
|||
user: "1000:1000" |
|||
ports: |
|||
- ${APP_IPFS_PODCASTING_P2P_PORT}:4001 # IPFS |
|||
volumes: |
|||
- ${APP_DATA_DIR}/ipfs:/ipfs-podcasting/ipfs |
|||
- ${APP_DATA_DIR}/cfg:/ipfs-podcasting/cfg |
|||
networks: |
|||
default: |
|||
ipv4_address: $APP_IPFS_PODCASTING_IP |
@ -0,0 +1,3 @@ |
|||
export APP_IPFS_PODCASTING_IP="10.21.21.93" |
|||
export APP_IPFS_PODCASTING_PORT="8675" |
|||
export APP_IPFS_PODCASTING_P2P_PORT="4001" |
@ -0,0 +1 @@ |
|||
|
@ -0,0 +1,23 @@ |
|||
id: ipfs-podcasting |
|||
category: Files |
|||
name: IPFS Podcasting |
|||
version: 0.5 |
|||
tagline: Crowd-host podcasts over IPFS |
|||
description: |- |
|||
Turn your Umbrel into an IPFS node for self-hosting, crowd-hosting, and archiving of your favorite podcasts to the IPFS network. |
|||
|
|||
IPFSPodcasting.net uses participating nodes to manage & track hashes of podcast episodes and generates IPFS/RSS feeds that load media from the IPFS network. |
|||
|
|||
You only need to run the app to participate. You can optionally configure your email, and manage your node from the website. View the FAQ to learn more. |
|||
developer: IPFSPodcasting.net |
|||
website: https://IPFSPodcasting.net |
|||
dependencies: [] |
|||
repo: https://github.com/Cameron-IPFSPodcasting/podcastnode |
|||
support: https://github.com/Cameron-IPFSPodcasting/podcastnode/issues |
|||
port: 8675 |
|||
gallery: |
|||
- 1.jpg |
|||
- 2.jpg |
|||
- 3.jpg |
|||
path: '' |
|||
defaultPassword: '' |
Loading…
Reference in new issue