mirror of
https://github.com/aljazceru/btcpayserver-docker.git
synced 2025-12-20 17:04:20 +01:00
expose gRPC
This commit is contained in:
@@ -297,6 +297,13 @@ server {
|
|||||||
include /etc/nginx/vhost.d/default_location;
|
include /etc/nginx/vhost.d/default_location;
|
||||||
{{ end }}
|
{{ end }}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
{{ if (exists "/lnd/tls.cert") }}
|
||||||
|
location /lnrpc.Lightning {
|
||||||
|
grpc_pass grpcs://lnd_bitcoin:10009;
|
||||||
|
grpc_ssl_trusted_certificate /lnd/tls.cert;
|
||||||
|
}
|
||||||
|
{{ end }}
|
||||||
}
|
}
|
||||||
|
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ services:
|
|||||||
LND_ENVIRONMENT: "${NBITCOIN_NETWORK:-regtest}"
|
LND_ENVIRONMENT: "${NBITCOIN_NETWORK:-regtest}"
|
||||||
LND_EXTRA_ARGS: |
|
LND_EXTRA_ARGS: |
|
||||||
restlisten=0.0.0.0:8080
|
restlisten=0.0.0.0:8080
|
||||||
|
rpclisten=0.0.0.0:10009
|
||||||
bitcoin.node=bitcoind
|
bitcoin.node=bitcoind
|
||||||
bitcoind.rpchost=bitcoind:43782
|
bitcoind.rpchost=bitcoind:43782
|
||||||
bitcoind.zmqpath=tcp://bitcoind:28332
|
bitcoind.zmqpath=tcp://bitcoind:28332
|
||||||
@@ -46,5 +47,16 @@ services:
|
|||||||
expose:
|
expose:
|
||||||
- "28332"
|
- "28332"
|
||||||
|
|
||||||
|
nginx:
|
||||||
|
links:
|
||||||
|
- "lnd_bitcoin"
|
||||||
|
volumes:
|
||||||
|
- "lnd_bitcoin_datadir:/lnd"
|
||||||
|
nginx-gen:
|
||||||
|
links:
|
||||||
|
- "lnd_bitcoin"
|
||||||
|
volumes:
|
||||||
|
- "lnd_bitcoin_datadir:/lnd"
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
lnd_bitcoin_datadir:
|
lnd_bitcoin_datadir:
|
||||||
Reference in New Issue
Block a user