Browse Source

Revert "Revert "Add internal Tor daemon to required apps (#218)" (#219)"

This reverts commit dc98effae1.
main
Luke Childs 2 years ago
parent
commit
ca9361b39e
  1. 10
      bitcoin/docker-compose.yml
  2. 26
      bitcoin/hooks/pre-start
  3. 4
      bitcoin/torrc.template
  4. 2
      bitcoin/umbrel-app.yml
  5. 10
      core-lightning/docker-compose.yml
  6. 26
      core-lightning/hooks/pre-start
  7. 4
      core-lightning/torrc.template
  8. 2
      core-lightning/umbrel-app.yml
  9. 10
      electrs/docker-compose.yml
  10. 26
      electrs/hooks/pre-start
  11. 4
      electrs/torrc.template
  12. 2
      electrs/umbrel-app.yml
  13. 10
      elements/docker-compose.yml
  14. 26
      elements/hooks/pre-start
  15. 4
      elements/torrc.template
  16. 2
      elements/umbrel-app.yml
  17. 1
      gitea/exports.sh
  18. 4
      gitea/torrc.template
  19. 2
      gitea/umbrel-app.yml
  20. 2
      jam/umbrel-app.yml
  21. 1
      kollider/exports.sh
  22. 4
      kollider/torrc.template
  23. 2
      kollider/umbrel-app.yml
  24. 10
      lightning/docker-compose.yml
  25. 26
      lightning/hooks/pre-start
  26. 4
      lightning/torrc.template
  27. 2
      lightning/umbrel-app.yml
  28. 10
      samourai-server/docker-compose.yml
  29. 27
      samourai-server/hooks/pre-start
  30. 8
      samourai-server/torrc.template
  31. 2
      samourai-server/umbrel-app.yml
  32. 1
      sphinx-relay/exports.sh
  33. 6
      sphinx-relay/torrc.template
  34. 2
      sphinx-relay/umbrel-app.yml
  35. 14
      squeaknode/docker-compose.yml
  36. 26
      squeaknode/hooks/pre-start
  37. 6
      squeaknode/torrc.template
  38. 2
      squeaknode/umbrel-app.yml
  39. 10
      suredbits-wallet/docker-compose.yml
  40. 26
      suredbits-wallet/hooks/pre-start
  41. 6
      suredbits-wallet/torrc.template
  42. 2
      suredbits-wallet/umbrel-app.yml
  43. 1
      synapse/exports.sh
  44. 4
      synapse/torrc.template
  45. 2
      synapse/umbrel-app.yml

10
bitcoin/docker-compose.yml

@ -40,3 +40,13 @@ services:
networks:
default:
ipv4_address: $APP_BITCOIN_NODE_IP
tor:
image: getumbrel/tor:0.4.7.8@sha256:2ace83f22501f58857fa9b403009f595137fa2e7986c4fda79d82a8119072b6a
user: "1000:1000"
restart: on-failure
volumes:
- ${APP_DATA_DIR}/torrc:/etc/tor/torrc:ro
- ${TOR_DATA_DIR}:/data
environment:
HOME: "/tmp"

26
bitcoin/hooks/pre-start

@ -0,0 +1,26 @@
#!/usr/bin/env bash
# Delay booting Bitcoin until the RPC and P2P Tor Hidden Services are ready
HIDDEN_SERVICE_FILE="${TOR_DATA_DIR}/app-${APP_ID}-rpc/hostname"
if [[ -f "${HIDDEN_SERVICE_FILE}" ]]; then
exit
fi
"${UMBREL_ROOT}/scripts/app" compose "${APP_ID}" up --detach bitcoind
"${UMBREL_ROOT}/scripts/app" compose "${APP_ID}" up --detach tor
echo "App: ${APP_ID} - Generating Tor Hidden Service..."
for attempt in $(seq 1 100); do
if [[ -f "${HIDDEN_SERVICE_FILE}" ]]; then
echo "App: ${APP_ID} - Hidden service file created successfully!"
break
fi
sleep 0.1
done
if [[ ! -f "${HIDDEN_SERVICE_FILE}" ]]; then
echo "App: ${APP_ID} - Hidden service file wasn't created"
fi

4
bitcoin/torrc.template

@ -5,7 +5,3 @@ HiddenServicePort $APP_BITCOIN_P2P_PORT $APP_BITCOIN_NODE_IP:$APP_BITCOIN_TOR_PO
# Bitcoin Core RPC Hidden Service
HiddenServiceDir /data/app-$APP_ID-rpc
HiddenServicePort $APP_BITCOIN_RPC_PORT $APP_BITCOIN_NODE_IP:$APP_BITCOIN_RPC_PORT
# Bitcoin Core Frontend Hidden Service
HiddenServiceDir /data/app-$APP_ID
HiddenServicePort 80 $APP_PROXY_HOSTNAME:$APP_PROXY_PORT

2
bitcoin/umbrel-app.yml

@ -1,4 +1,4 @@
manifestVersion: 1
manifestVersion: 1.1
id: bitcoin
category: Finance
name: Bitcoin Node

10
core-lightning/docker-compose.yml

@ -63,3 +63,13 @@ services:
networks:
default:
ipv4_address: ${APP_CORE_LIGHTNING_DAEMON_IP}
tor:
image: getumbrel/tor:0.4.7.8@sha256:2ace83f22501f58857fa9b403009f595137fa2e7986c4fda79d82a8119072b6a
user: "1000:1000"
restart: on-failure
volumes:
- ${APP_DATA_DIR}/torrc:/etc/tor/torrc:ro
- ${TOR_DATA_DIR}:/data
environment:
HOME: "/tmp"

26
core-lightning/hooks/pre-start

@ -0,0 +1,26 @@
#!/usr/bin/env bash
# Delay booting Core Lightning until the REST Tor Hidden Service is ready
HIDDEN_SERVICE_FILE="${TOR_DATA_DIR}/app-${APP_ID}-rest/hostname"
if [[ -f "${HIDDEN_SERVICE_FILE}" ]]; then
exit
fi
"${UMBREL_ROOT}/scripts/app" compose "${APP_ID}" up --detach c-lightning-rest
"${UMBREL_ROOT}/scripts/app" compose "${APP_ID}" up --detach tor
echo "App: ${APP_ID} - Generating Tor Hidden Service..."
for attempt in $(seq 1 100); do
if [[ -f "${HIDDEN_SERVICE_FILE}" ]]; then
echo "App: ${APP_ID} - Hidden service file created successfully!"
break
fi
sleep 0.1
done
if [[ ! -f "${HIDDEN_SERVICE_FILE}" ]]; then
echo "App: ${APP_ID} - Hidden service file wasn't created"
fi

4
core-lightning/torrc.template

@ -1,7 +1,3 @@
# Core Lightning REST Hidden Service
HiddenServiceDir /data/app-$APP_ID-rest
HiddenServicePort $APP_CORE_LIGHTNING_REST_PORT $APP_CORE_LIGHTNING_REST_IP:$APP_CORE_LIGHTNING_REST_PORT
# Core Lightning Frontend Hidden Service
HiddenServiceDir /data/app-$APP_ID
HiddenServicePort 80 $APP_PROXY_HOSTNAME:$APP_PROXY_PORT

2
core-lightning/umbrel-app.yml

@ -1,4 +1,4 @@
manifestVersion: 1
manifestVersion: 1.1
id: core-lightning
category: Finance
name: Core Lightning

10
electrs/docker-compose.yml

@ -42,3 +42,13 @@ services:
networks:
default:
ipv4_address: $APP_ELECTRS_NODE_IP
tor:
image: getumbrel/tor:0.4.7.8@sha256:2ace83f22501f58857fa9b403009f595137fa2e7986c4fda79d82a8119072b6a
user: "1000:1000"
restart: on-failure
volumes:
- ${APP_DATA_DIR}/torrc:/etc/tor/torrc:ro
- ${TOR_DATA_DIR}:/data
environment:
HOME: "/tmp"

26
electrs/hooks/pre-start

@ -0,0 +1,26 @@
#!/usr/bin/env bash
# Delay booting Electrs until the RPC Tor Hidden Service is ready
HIDDEN_SERVICE_FILE="${TOR_DATA_DIR}/app-${APP_ID}-rpc/hostname"
if [[ -f "${HIDDEN_SERVICE_FILE}" ]]; then
exit
fi
"${UMBREL_ROOT}/scripts/app" compose "${APP_ID}" up --detach electrs
"${UMBREL_ROOT}/scripts/app" compose "${APP_ID}" up --detach tor
echo "App: ${APP_ID} - Generating Tor Hidden Service..."
for attempt in $(seq 1 100); do
if [[ -f "${HIDDEN_SERVICE_FILE}" ]]; then
echo "App: ${APP_ID} - Hidden service file created successfully!"
break
fi
sleep 0.1
done
if [[ ! -f "${HIDDEN_SERVICE_FILE}" ]]; then
echo "App: ${APP_ID} - Hidden service file wasn't created"
fi

4
electrs/torrc.template

@ -1,7 +1,3 @@
# Electrs RPC Hidden Service
HiddenServiceDir /data/app-$APP_ID-rpc
HiddenServicePort $APP_ELECTRS_NODE_PORT $APP_ELECTRS_NODE_IP:$APP_ELECTRS_NODE_PORT
# Electrs Frontend Hidden Service
HiddenServiceDir /data/app-$APP_ID
HiddenServicePort 80 $APP_PROXY_HOSTNAME:$APP_PROXY_PORT

2
electrs/umbrel-app.yml

@ -1,4 +1,4 @@
manifestVersion: 1
manifestVersion: 1.1
id: electrs
category: Finance
name: Electrs

10
elements/docker-compose.yml

@ -60,4 +60,12 @@ services:
default:
ipv4_address: $APP_ELEMENTS_IP
tor:
image: getumbrel/tor:0.4.7.8@sha256:2ace83f22501f58857fa9b403009f595137fa2e7986c4fda79d82a8119072b6a
user: "1000:1000"
restart: on-failure
volumes:
- ${APP_DATA_DIR}/torrc:/etc/tor/torrc:ro
- ${TOR_DATA_DIR}:/data
environment:
HOME: "/tmp"

26
elements/hooks/pre-start

@ -0,0 +1,26 @@
#!/usr/bin/env bash
# Delay booting Elements until the RPC and P2P Tor Hidden Services are ready
HIDDEN_SERVICE_FILE="${TOR_DATA_DIR}/app-${APP_ID}-p2p/hostname"
if [[ -f "${HIDDEN_SERVICE_FILE}" ]]; then
exit
fi
"${UMBREL_ROOT}/scripts/app" compose "${APP_ID}" up --detach node
"${UMBREL_ROOT}/scripts/app" compose "${APP_ID}" up --detach tor
echo "App: ${APP_ID} - Generating Tor Hidden Service..."
for attempt in $(seq 1 100); do
if [[ -f "${HIDDEN_SERVICE_FILE}" ]]; then
echo "App: ${APP_ID} - Hidden service file created successfully!"
break
fi
sleep 0.1
done
if [[ ! -f "${HIDDEN_SERVICE_FILE}" ]]; then
echo "App: ${APP_ID} - Hidden service file wasn't created"
fi

4
elements/torrc.template

@ -5,7 +5,3 @@ HiddenServicePort $APP_ELEMENTS_NODE_RPC_PORT $APP_ELEMENTS_NODE_IP:$APP_ELEMENT
# 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

2
elements/umbrel-app.yml

@ -1,4 +1,4 @@
manifestVersion: 1
manifestVersion: 1.1
id: elements
category: Wallet Servers
name: Elements Core

1
gitea/exports.sh

@ -2,3 +2,4 @@ export APP_GITEA_PORT="8085"
export APP_GITEA_SSH_PORT="2222"
export APP_GITEA_IP="10.21.21.39"
export APP_GITEA_DB_IP="10.21.21.40"
export APP_GITEA_TOR_HS_EXTRA_PORTS="22:${APP_GITEA_IP}:${APP_GITEA_SSH_PORT}"

4
gitea/torrc.template

@ -1,4 +0,0 @@
# gitea Hidden Service
HiddenServiceDir /data/app-gitea
HiddenServicePort 80 $APP_GITEA_IP:$APP_GITEA_PORT
HiddenServicePort 22 $APP_GITEA_IP:$APP_GITEA_SSH_PORT

2
gitea/umbrel-app.yml

@ -1,4 +1,4 @@
manifestVersion: 1
manifestVersion: 1.1
id: gitea
category: Development
name: Gitea

2
jam/umbrel-app.yml

@ -1,4 +1,4 @@
manifestVersion: 1
manifestVersion: 1.1
id: jam
category: Finance
name: Jam

1
kollider/exports.sh

@ -3,3 +3,4 @@ export APP_KOLLIDER_PORT="4243"
export APP_KOLLIDER_WS_IP="10.21.21.71"
export APP_KOLLIDER_WS_PORT="4244"
export APP_KOLLIDER_HH_IP="10.21.21.72"
export APP_KOLLIDER_TOR_HS_EXTRA_PORTS="4244:${APP_KOLLIDER_WS_IP}:8080"

4
kollider/torrc.template

@ -1,4 +0,0 @@
# kollider Hidden Service
HiddenServiceDir /data/app-kollider
HiddenServicePort 80 $APP_KOLLIDER_IP:3000
HiddenServicePort 4244 $APP_KOLLIDER_WS_IP:8080

2
kollider/umbrel-app.yml

@ -1,4 +1,4 @@
manifestVersion: 1
manifestVersion: 1.1
id: kollider
category: Finance
name: Kollider

10
lightning/docker-compose.yml

@ -54,3 +54,13 @@ services:
networks:
default:
ipv4_address: $APP_LIGHTNING_NODE_IP
tor:
image: getumbrel/tor:0.4.7.8@sha256:2ace83f22501f58857fa9b403009f595137fa2e7986c4fda79d82a8119072b6a
user: "1000:1000"
restart: on-failure
volumes:
- ${APP_DATA_DIR}/torrc:/etc/tor/torrc:ro
- ${TOR_DATA_DIR}:/data
environment:
HOME: "/tmp"

26
lightning/hooks/pre-start

@ -0,0 +1,26 @@
#!/usr/bin/env bash
# Delay booting Lightning until the GRPC and REST Tor Hidden Services are ready
HIDDEN_SERVICE_FILE="${TOR_DATA_DIR}/app-${APP_ID}-grpc/hostname"
if [[ -f "${HIDDEN_SERVICE_FILE}" ]]; then
exit
fi
"${UMBREL_ROOT}/scripts/app" compose "${APP_ID}" up --detach lnd
"${UMBREL_ROOT}/scripts/app" compose "${APP_ID}" up --detach tor
echo "App: ${APP_ID} - Generating Tor Hidden Service..."
for attempt in $(seq 1 100); do
if [[ -f "${HIDDEN_SERVICE_FILE}" ]]; then
echo "App: ${APP_ID} - Hidden service file created successfully!"
break
fi
sleep 0.1
done
if [[ ! -f "${HIDDEN_SERVICE_FILE}" ]]; then
echo "App: ${APP_ID} - Hidden service file wasn't created"
fi

4
lightning/torrc.template

@ -5,7 +5,3 @@ HiddenServicePort $APP_LIGHTNING_NODE_REST_PORT $APP_LIGHTNING_NODE_IP:$APP_LIGH
# LND gRPC Hidden Service
HiddenServiceDir /data/app-$APP_ID-grpc
HiddenServicePort $APP_LIGHTNING_NODE_GRPC_PORT $APP_LIGHTNING_NODE_IP:$APP_LIGHTNING_NODE_GRPC_PORT
# LND Frontend Hidden Service
HiddenServiceDir /data/app-$APP_ID
HiddenServicePort 80 $APP_PROXY_HOSTNAME:$APP_PROXY_PORT

2
lightning/umbrel-app.yml

@ -1,4 +1,4 @@
manifestVersion: 1
manifestVersion: 1.1
id: lightning
category: Finance
name: Lightning Node

10
samourai-server/docker-compose.yml

@ -144,3 +144,13 @@ services:
networks:
default:
ipv4_address: $APP_SAMOURAI_SERVER_IP
tor:
image: getumbrel/tor:0.4.7.8@sha256:2ace83f22501f58857fa9b403009f595137fa2e7986c4fda79d82a8119072b6a
user: "1000:1000"
restart: on-failure
volumes:
- ${APP_DATA_DIR}/torrc:/etc/tor/torrc:ro
- ${TOR_DATA_DIR}:/data
environment:
HOME: "/tmp"

27
samourai-server/hooks/pre-start

@ -0,0 +1,27 @@
#!/usr/bin/env bash
# Delay booting Samourai Server until the Dojo and Whirlpool Tor Hidden Services are ready
HIDDEN_SERVICE_FILE="${TOR_DATA_DIR}/app-${APP_ID}-whirlpool/hostname"
if [[ -f "${HIDDEN_SERVICE_FILE}" ]]; then
exit
fi
"${UMBREL_ROOT}/scripts/app" compose "${APP_ID}" up --detach nginx
"${UMBREL_ROOT}/scripts/app" compose "${APP_ID}" up --detach whirlpool
"${UMBREL_ROOT}/scripts/app" compose "${APP_ID}" up --detach tor
echo "App: ${APP_ID} - Generating Tor Hidden Service..."
for attempt in $(seq 1 100); do
if [[ -f "${HIDDEN_SERVICE_FILE}" ]]; then
echo "App: ${APP_ID} - Hidden service file created successfully!"
break
fi
sleep 0.1
done
if [[ ! -f "${HIDDEN_SERVICE_FILE}" ]]; then
echo "App: ${APP_ID} - Hidden service file wasn't created"
fi

8
samourai-server/torrc.template

@ -1,11 +1,7 @@
# samourai-server dojo Hidden Service
HiddenServiceDir /data/app-samourai-server-dojo
HiddenServiceDir /data/app-$APP_ID-dojo
HiddenServicePort 80 $APP_SAMOURAI_SERVER_IP:80
# samourai-server whirlpool Hidden Service
HiddenServiceDir /data/app-samourai-server-whirlpool
HiddenServiceDir /data/app-$APP_ID-whirlpool
HiddenServicePort 80 $APP_SAMOURAI_SERVER_WHIRLPOOL_IP:$APP_SAMOURAI_SERVER_WHIRLPOOL_PORT
# samourai-server connect Hidden Service
HiddenServiceDir /data/app-samourai-server
HiddenServicePort 80 $APP_SAMOURAI_SERVER_IP:8081

2
samourai-server/umbrel-app.yml

@ -1,4 +1,4 @@
manifestVersion: 1
manifestVersion: 1.1
id: samourai-server
category: Wallet Servers
name: Samourai Server

1
sphinx-relay/exports.sh

@ -1,2 +1,3 @@
export APP_SPHINX_RELAY_IP="10.21.21.14"
export APP_SPHINX_RELAY_PORT="3300"
export APP_SPHINX_TOR_HS_EXTRA_PORTS="${APP_SPHINX_RELAY_PORT}:${APP_SPHINX_RELAY_IP}:${APP_SPHINX_RELAY_PORT}"

6
sphinx-relay/torrc.template

@ -1,6 +0,0 @@
# sphinx-relay Hidden Service
# We expose 80 for the connection string UI and $APP_SPHINX_RELAY_PORT for the
# actual server connection
HiddenServiceDir /data/app-sphinx-relay
HiddenServicePort 80 $APP_SPHINX_RELAY_IP:$APP_SPHINX_RELAY_PORT
HiddenServicePort $APP_SPHINX_RELAY_PORT $APP_SPHINX_RELAY_IP:$APP_SPHINX_RELAY_PORT

2
sphinx-relay/umbrel-app.yml

@ -1,4 +1,4 @@
manifestVersion: 1
manifestVersion: 1.1
id: sphinx-relay
category: Social
name: Sphinx Relay

14
squeaknode/docker-compose.yml

@ -31,8 +31,8 @@ services:
SQUEAKNODE_LIGHTNING_LND_MACAROON_PATH: "/lnd/data/chain/bitcoin/$APP_BITCOIN_NETWORK/admin.macaroon"
# Tor environment variables
SQUEAKNODE_TOR_PROXY_IP: $TOR_PROXY_IP
SQUEAKNODE_TOR_PROXY_PORT: $TOR_PROXY_PORT
SQUEAKNODE_TOR_PROXY_IP: "${TOR_PROXY_IP}"
SQUEAKNODE_TOR_PROXY_PORT: "${TOR_PROXY_PORT}"
# App specific environment variables
SQUEAKNODE_WEBADMIN_ENABLED: "true"
@ -49,3 +49,13 @@ services:
networks:
default:
ipv4_address: $APP_SQUEAKNODE_IP
tor:
image: getumbrel/tor:0.4.7.8@sha256:2ace83f22501f58857fa9b403009f595137fa2e7986c4fda79d82a8119072b6a
user: "1000:1000"
restart: on-failure
volumes:
- ${APP_DATA_DIR}/torrc:/etc/tor/torrc:ro
- ${TOR_DATA_DIR}:/data
environment:
HOME: "/tmp"

26
squeaknode/hooks/pre-start

@ -0,0 +1,26 @@
#!/usr/bin/env bash
# Delay booting Squeaknode until the P2P Tor Hidden Service is ready
HIDDEN_SERVICE_FILE="${TOR_DATA_DIR}/app-${APP_ID}-p2p/hostname"
if [[ -f "${HIDDEN_SERVICE_FILE}" ]]; then
exit
fi
"${UMBREL_ROOT}/scripts/app" compose "${APP_ID}" up --detach web
"${UMBREL_ROOT}/scripts/app" compose "${APP_ID}" up --detach tor
echo "App: ${APP_ID} - Generating Tor Hidden Service..."
for attempt in $(seq 1 100); do
if [[ -f "${HIDDEN_SERVICE_FILE}" ]]; then
echo "App: ${APP_ID} - Hidden service file created successfully!"
break
fi
sleep 0.1
done
if [[ ! -f "${HIDDEN_SERVICE_FILE}" ]]; then
echo "App: ${APP_ID} - Hidden service file wasn't created"
fi

6
squeaknode/torrc.template

@ -1,8 +1,4 @@
# squeaknode p2p Hidden Service
HiddenServiceDir /data/app-squeaknode-p2p
HiddenServiceDir /data/app-$APP_ID-p2p
HiddenServicePort $APP_SQUEAKNODE_P2P_PORT $APP_SQUEAKNODE_IP:$APP_SQUEAKNODE_P2P_PORT
HiddenServicePort $APP_SQUEAKNODE_P2P_TESTNET_PORT $APP_SQUEAKNODE_IP:$APP_SQUEAKNODE_P2P_TESTNET_PORT
# squeaknode Hidden Service
HiddenServiceDir /data/app-squeaknode
HiddenServicePort 80 $APP_SQUEAKNODE_IP:$APP_SQUEAKNODE_PORT

2
squeaknode/umbrel-app.yml

@ -1,4 +1,4 @@
manifestVersion: 1
manifestVersion: 1.1
id: squeaknode
category: Social
name: Squeaknode

10
suredbits-wallet/docker-compose.yml

@ -58,3 +58,13 @@ services:
networks:
default:
ipv4_address: $APP_SUREDBITS_WALLET_SERVER_IP
tor:
image: getumbrel/tor:0.4.7.8@sha256:2ace83f22501f58857fa9b403009f595137fa2e7986c4fda79d82a8119072b6a
user: "1000:1000"
restart: on-failure
volumes:
- ${APP_DATA_DIR}/torrc:/etc/tor/torrc:ro
- ${TOR_DATA_DIR}:/data
environment:
HOME: "/tmp"

26
suredbits-wallet/hooks/pre-start

@ -0,0 +1,26 @@
#!/usr/bin/env bash
# Delay booting Suredbits Wallet until the P2P Tor Hidden Service is ready
HIDDEN_SERVICE_FILE="${TOR_DATA_DIR}/app-${APP_ID}-p2p/hostname"
if [[ -f "${HIDDEN_SERVICE_FILE}" ]]; then
exit
fi
"${UMBREL_ROOT}/scripts/app" compose "${APP_ID}" up --detach walletserver
"${UMBREL_ROOT}/scripts/app" compose "${APP_ID}" up --detach tor
echo "App: ${APP_ID} - Generating Tor Hidden Service..."
for attempt in $(seq 1 100); do
if [[ -f "${HIDDEN_SERVICE_FILE}" ]]; then
echo "App: ${APP_ID} - Hidden service file created successfully!"
break
fi
sleep 0.1
done
if [[ ! -f "${HIDDEN_SERVICE_FILE}" ]]; then
echo "App: ${APP_ID} - Hidden service file wasn't created"
fi

6
suredbits-wallet/torrc.template

@ -1,7 +1,3 @@
# suredbits-wallet p2p Hidden Service
HiddenServiceDir /data/app-suredbits-wallet-p2p
HiddenServiceDir /data/app-$APP_ID-p2p
HiddenServicePort $APP_SUREDBITS_WALLET_P2P_PORT $APP_SUREDBITS_WALLET_SERVER_IP:$APP_SUREDBITS_WALLET_P2P_PORT
# suredbits-wallet Hidden Service
HiddenServiceDir /data/app-suredbits-wallet
HiddenServicePort 80 $APP_SUREDBITS_WALLET_IP:3002

2
suredbits-wallet/umbrel-app.yml

@ -1,4 +1,4 @@
manifestVersion: 1
manifestVersion: 1.1
id: suredbits-wallet
category: Finance
name: Suredbits Wallet

1
synapse/exports.sh

@ -1,2 +1,3 @@
export APP_SYNAPSE_IP="10.21.21.44"
export APP_SYNAPSE_PORT="8008"
export APP_SYNAPSE_TOR_HS_EXTRA_PORTS="${APP_SYNAPSE_PORT}:${APP_SYNAPSE_IP}:${APP_SYNAPSE_PORT}"

4
synapse/torrc.template

@ -1,4 +0,0 @@
# synapse Hidden Service
HiddenServiceDir /data/app-synapse
HiddenServicePort 80 $APP_SYNAPSE_IP:$APP_SYNAPSE_PORT
HiddenServicePort $APP_SYNAPSE_PORT $APP_SYNAPSE_IP:$APP_SYNAPSE_PORT

2
synapse/umbrel-app.yml

@ -1,4 +1,4 @@
manifestVersion: 1
manifestVersion: 1.1
id: synapse
category: Social
name: Synapse

Loading…
Cancel
Save