Browse Source

Add helipad app (#1174)

Co-authored-by: Luke Childs <lukechilds123@gmail.com>
dashboard-0.3.31
Dave Jones 3 years ago
committed by GitHub
parent
commit
c622340b49
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 0
      apps/helipad/data/.gitkeep
  2. 19
      apps/helipad/docker-compose.yml
  3. 4
      scripts/configure
  4. 2
      templates/.env-sample
  5. 4
      templates/torrc-apps-3-sample

0
apps/helipad/data/.gitkeep

19
apps/helipad/docker-compose.yml

@ -0,0 +1,19 @@
version: "3.7"
services:
web:
image: podcastindexorg/podcasting20-helipad:v0.1.5@sha256:2021a21cb650d6d010fac846268644acfee62b54ac7f75c758aae160a2c6bd39
init: true
restart: on-failure
stop_grace_period: 1m
user: "1000:1000"
ports:
- ${APP_HELIPAD_PORT}:2112
volumes:
- ${APP_DATA_DIR}/data:/data
- ${LND_DATA_DIR}:/lnd:ro
environment:
LND_URL: "$LND_IP:$LND_GRPC_PORT"
networks:
default:
ipv4_address: $APP_HELIPAD_IP

4
scripts/configure

@ -219,6 +219,8 @@ APP_SYNCTHING_PORT="8384"
APP_SYNCTHING_SYNC_PORT="22000"
APP_UPTIME_KUMA_PORT="8385"
APP_UPTIME_KUMA_IP="10.21.21.62"
APP_HELIPAD_PORT="2112"
APP_HELIPAD_IP="10.21.21.65"
# Generate RPC credentials
if [[ -z ${BITCOIN_RPC_USER+x} ]] || [[ -z ${BITCOIN_RPC_PASS+x} ]] || [[ -z ${BITCOIN_RPC_AUTH+x} ]]; then
@ -435,6 +437,8 @@ for template in "${NGINX_CONF_FILE}" "${BITCOIN_CONF_FILE}" "${LND_CONF_FILE}" "
sed -i "s/<app-syncthing-sync-port>/${APP_SYNCTHING_SYNC_PORT}/g" "${template}"
sed -i "s/<app-uptime-kuma-port>/${APP_UPTIME_KUMA_PORT}/g" "${template}"
sed -i "s/<app-uptime-kuma-ip>/${APP_UPTIME_KUMA_IP}/g" "${template}"
sed -i "s/<app-helipad-port>/${APP_HELIPAD_PORT}/g" "${template}"
sed -i "s/<app-helipad-ip>/${APP_HELIPAD_IP}/g" "${template}"
done
##########################################################

2
templates/.env-sample

@ -113,3 +113,5 @@ APP_SYNCTHING_PORT=<app-syncthing-port>
APP_SYNCTHING_SYNC_PORT=<app-syncthing-sync-port>
APP_UPTIME_KUMA_PORT=<app-uptime-kuma-port>
APP_UPTIME_KUMA_IP=<app-uptime-kuma-ip>
APP_HELIPAD_PORT=<app-helipad-port>
APP_HELIPAD_IP=<app-helipad-ip>

4
templates/torrc-apps-3-sample

@ -48,3 +48,7 @@ HiddenServicePort 80 <app-syncthing-ip>:<app-syncthing-port>
# uptime-kuma Hidden Service
HiddenServiceDir /var/lib/tor/app-uptime-kuma
HiddenServicePort 80 <app-uptime-kuma-ip>:3001
# helipad Hidden Service
HiddenServiceDir /var/lib/tor/app-helipad
HiddenServicePort 80 <app-helipad-ip>:2112

Loading…
Cancel
Save