Add PodcastIndex helipad (#567)
This commit is contained in:
@@ -107,6 +107,31 @@
|
|||||||
sub_filter 'href="../' 'href="/bluewallet_lndhub_app/';
|
sub_filter 'href="../' 'href="/bluewallet_lndhub_app/';
|
||||||
sub_filter 'src="/' 'src="/bluewallet_lndhub_app/';
|
sub_filter 'src="/' 'src="/bluewallet_lndhub_app/';
|
||||||
sub_filter_once off;
|
sub_filter_once off;
|
||||||
|
}
|
||||||
|
{{ end }}
|
||||||
|
{{ if (eq $serviceName "helipad") }}
|
||||||
|
location /helipad/ {
|
||||||
|
proxy_set_header Connection "";
|
||||||
|
proxy_set_header Host $host;
|
||||||
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
|
proxy_set_header X-Forwarded-Host $host:443;
|
||||||
|
proxy_set_header X-Forwarded-Server $host;
|
||||||
|
proxy_set_header X-Forwarded-Port 443;
|
||||||
|
proxy_set_header X-Forwarded-Proto https;
|
||||||
|
|
||||||
|
sub_filter_once off;
|
||||||
|
sub_filter_types *;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
sub_filter 'src="/' 'src="/helipad/';
|
||||||
|
sub_filter 'href="/' 'href="/helipad/';
|
||||||
|
sub_filter '/image' '/helipad/image';
|
||||||
|
sub_filter '/pew' '/helipad/pew';
|
||||||
|
sub_filter '/boosts' '/helipad/boosts';
|
||||||
|
proxy_pass http://helipad:2112/;
|
||||||
|
|
||||||
}
|
}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
|||||||
@@ -186,6 +186,7 @@ Available `BTCPAYGEN_ADDITIONAL_FRAGMENTS` currently are:
|
|||||||
* [opt-monero-expose](docker-compose-generator/docker-fragments/opt-monero-expose.yml) to expose monero node's RPC port at 127.0.0.1:18081 to connect your own wallet. Use f.e. ssh port forwarding to forward to your own computer.
|
* [opt-monero-expose](docker-compose-generator/docker-fragments/opt-monero-expose.yml) to expose monero node's RPC port at 127.0.0.1:18081 to connect your own wallet. Use f.e. ssh port forwarding to forward to your own computer.
|
||||||
* [opt-add-fireflyiii](docker-compose-generator/docker-fragments/opt-add-fireflyiii.yml) ([See the documentation](docs/fireflyiii.md))
|
* [opt-add-fireflyiii](docker-compose-generator/docker-fragments/opt-add-fireflyiii.yml) ([See the documentation](docs/fireflyiii.md))
|
||||||
* [opt-add-joinmarket](docker-compose-generator/docker-fragments/opt-add-joinmarket.yml) ([See the documentation](docs/joinmarket.md))
|
* [opt-add-joinmarket](docker-compose-generator/docker-fragments/opt-add-joinmarket.yml) ([See the documentation](docs/joinmarket.md))
|
||||||
|
* [opt-add-helipad](docker-compose-generator/docker-fragments/opt-add-helipad.yml) for [Podcastindex.org Helipad](https://github.com/Podcastindex-org/helipad). Requires LND.
|
||||||
|
|
||||||
You can also create your own [custom fragments](#how-can-i-customize-the-generated-docker-compose-file).
|
You can also create your own [custom fragments](#how-can-i-customize-the-generated-docker-compose-file).
|
||||||
|
|
||||||
|
|||||||
@@ -673,6 +673,20 @@ namespace DockerFileBuildHelper
|
|||||||
dockerInfo.DockerFilePath = $"Dockerfile";
|
dockerInfo.DockerFilePath = $"Dockerfile";
|
||||||
dockerInfo.GitRef = image.Tag.Replace("-path-prefix", "");
|
dockerInfo.GitRef = image.Tag.Replace("-path-prefix", "");
|
||||||
break;
|
break;
|
||||||
|
case "chatwoot/chatwoot":
|
||||||
|
dockerInfo.DockerFilePath = $"docker/Dockerfile";
|
||||||
|
dockerInfo.DockerFilePathARM32v7 = $"docker/Dockerfile";
|
||||||
|
dockerInfo.DockerFilePathARM64v8 = $"docker/Dockerfile";
|
||||||
|
dockerInfo.GitLink = "https://github.com/chatwoot/chatwoot";
|
||||||
|
dockerInfo.GitRef = $"{image.Tag}";
|
||||||
|
break;
|
||||||
|
case "podcastindexorg/podcasting20-boosts":
|
||||||
|
dockerInfo.DockerFilePath = $"umbrel/Dockerfile";
|
||||||
|
dockerInfo.DockerFilePathARM32v7 = $"umbrel/Dockerfile";
|
||||||
|
dockerInfo.DockerFilePathARM64v8 = $"umbrel/Dockerfile";
|
||||||
|
dockerInfo.GitLink = "https://github.com/Podcastindex-org/helipad";
|
||||||
|
dockerInfo.GitRef = $"{image.Tag}";
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
if (firstTry)
|
if (firstTry)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -0,0 +1,30 @@
|
|||||||
|
version: '3'
|
||||||
|
|
||||||
|
services:
|
||||||
|
helipad:
|
||||||
|
container_name: helipad
|
||||||
|
image: podcastindexorg/podcasting20-helipad:v0.1.6
|
||||||
|
restart: unless-stopped
|
||||||
|
user: "root"
|
||||||
|
expose:
|
||||||
|
- 2112
|
||||||
|
volumes:
|
||||||
|
- helipad_datadir:/data
|
||||||
|
- lnd_bitcoin_datadir:/lnd:ro
|
||||||
|
environment:
|
||||||
|
LND_URL: "lnd_bitcoin:10009"
|
||||||
|
LND_ADMINMACAROON: "/lnd/admin.macaroon"
|
||||||
|
LND_TLSCERT: "/lnd/tls.cert"
|
||||||
|
links:
|
||||||
|
- lnd_bitcoin
|
||||||
|
|
||||||
|
|
||||||
|
btcpayserver:
|
||||||
|
environment:
|
||||||
|
BTCPAY_EXTERNALSERVICES: "Podcast Index Helipad:${BTCPAY_PROTOCOL:-https}://${BTCPAY_HOST}/helipad;"
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
helipad_datadir:
|
||||||
|
|
||||||
|
required:
|
||||||
|
- "bitcoin-lnd"
|
||||||
Reference in New Issue
Block a user