mirror of
https://github.com/Retropex/btcpayserver-docker.git
synced 2025-05-12 21:10:42 +02:00
Bump Transmuter and allow it to be accessible at /btctransmuter (#244)
* bump * support transmuter under btcpay path * fix * fix * add forwarded headers * bump * fix var * re-add transmuter host * update path to transmuter * bump
This commit is contained in:
parent
a9f78512fc
commit
ce06b5eb23
@ -66,6 +66,20 @@
|
||||
{{ if (eq $serviceName "clightning_groestlcoin_charge") }}
|
||||
location /lightning-charge/grs/ {
|
||||
proxy_pass http://clightning_groestlcoin_charge:9112/;
|
||||
}
|
||||
{{ end }}
|
||||
|
||||
{{ if (eq $serviceName "btctransmuter") }}
|
||||
location /btctransmuter/ {
|
||||
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;
|
||||
proxy_pass http://btctransmuter;
|
||||
}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
@ -3,11 +3,13 @@ version: "3"
|
||||
services:
|
||||
btctransmuter:
|
||||
restart: unless-stopped
|
||||
image: btcpayserver/btctransmuter:0.0.39
|
||||
image: btcpayserver/btctransmuter:0.0.43
|
||||
container_name: btctransmuter
|
||||
environment:
|
||||
TRANSMUTER_Database: User ID=postgres;Host=postgres;Port=5432;Database=btctransmuter${NBITCOIN_NETWORK:-regtest}
|
||||
TRANSMUTER_DatabaseType: postgres
|
||||
TRANSMUTER_DataProtectionDir: data/keys
|
||||
TRANSMUTER_DataProtectionDir: data/keys
|
||||
TRANSMUTER_ROOTPATH: "/btctransmuter"
|
||||
TRANSMUTER_ExtensionsDir: data/extensions
|
||||
NBXplorer_Cryptos: ${BTCPAY_CRYPTOS}
|
||||
NBXplorer_Uri: http://nbxplorer:32838/
|
||||
@ -27,6 +29,6 @@ services:
|
||||
- "nbxplorer_datadir:/root/.nbxplorer"
|
||||
btcpayserver:
|
||||
environment:
|
||||
BTCPAY_EXTERNALSERVICES: "BTC Transmuter:${BTCPAY_PROTOCOL:-https}://${BTCTRANSMUTER_HOST};"
|
||||
BTCPAY_EXTERNALSERVICES: "BTC Transmuter:btctransmuter;"
|
||||
volumes:
|
||||
btctransmuter_datadir:
|
Loading…
Reference in New Issue
Block a user