mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-01-18 21:32:27 +01:00
bind to all interface if inside the test container
This commit is contained in:
parent
d8e1edd6d3
commit
1dcec3e1fb
@ -102,7 +102,14 @@ namespace BTCPayServer.Tests
|
||||
|
||||
StringBuilder config = new StringBuilder();
|
||||
config.AppendLine($"{chain.ToLowerInvariant()}=1");
|
||||
config.AppendLine($"port={Port}");
|
||||
if (InContainer)
|
||||
{
|
||||
config.AppendLine($"bind=0.0.0.0:{Port}");
|
||||
}
|
||||
else
|
||||
{
|
||||
config.AppendLine($"port={Port}");
|
||||
}
|
||||
config.AppendLine($"chains=btc,ltc");
|
||||
|
||||
config.AppendLine($"btc.explorer.url={NBXplorerUri.AbsoluteUri}");
|
||||
|
Loading…
Reference in New Issue
Block a user