1
0
This commit is contained in:
Jeff Vandrew Jr
2019-02-16 10:40:56 -05:00
committed by nicolas.dorier
parent 7371ba9e0a
commit 2df6f2b5ba
2 changed files with 29 additions and 3 deletions

View File

@@ -1,5 +1,4 @@
{{ $CurrentContainer := where $ "ID" .Docker.CurrentContainerID | first }}
{{ $CurrentContainer := where $ "ID" .Docker.CurrentContainerID | first }}
{{ define "upstream" }}
{{ if .Address }}
{{/* If we got the containers from swarm and this container's port is published to host, use host IP:PORT */}}
@@ -310,6 +309,11 @@ server {
location /lnd-rest/btc/ {
rewrite ^/lnd-rest/btc/(.*) /$1 break;
proxy_pass http://lnd_bitcoin:8080/;
}
{{ end }}
{{ if (eq $serviceName "lnd_bitcoin_rtl") }}
location /rtl/ {
proxy_pass http://lnd_bitcoin_rtl:3000/rtl/;
}
{{ end }}
{{ if (eq $serviceName "btcqbo") }}