bump
This commit is contained in:
@@ -59,12 +59,16 @@ namespace DockerGenerator
|
||||
}
|
||||
fragments.Add("btcpayserver");
|
||||
|
||||
bool hasAltcoins = false;
|
||||
foreach (var crypto in cryptoDefinitions)
|
||||
{
|
||||
if (!composition.SelectedCryptos.Contains(crypto.Crypto))
|
||||
continue;
|
||||
|
||||
fragments.Add(crypto.CryptoFragment);
|
||||
if (crypto.CryptoFragment != "bitcoin")
|
||||
hasAltcoins = true;
|
||||
|
||||
if (composition.SelectedLN == "clightning" && crypto.CLightningFragment != null)
|
||||
{
|
||||
fragments.Add(crypto.CLightningFragment);
|
||||
@@ -79,6 +83,11 @@ namespace DockerGenerator
|
||||
}
|
||||
}
|
||||
|
||||
if (hasAltcoins)
|
||||
Environment.SetEnvironmentVariable("BTCPAY_BUILD_CONFIGURATION", "-altcoins");
|
||||
else
|
||||
Environment.SetEnvironmentVariable("BTCPAY_BUILD_CONFIGURATION", "");
|
||||
|
||||
foreach (var fragment in composition.AdditionalFragments)
|
||||
{
|
||||
fragments.Add(fragment);
|
||||
|
||||
@@ -6,12 +6,12 @@
|
||||
"environmentVariables": {
|
||||
"BTCPAY_HOST_SSHKEYFILE": "test.rsa",
|
||||
"BTCPAYGEN_LIGHTNING": "clightning",
|
||||
"BTCPAYGEN_ADDITIONAL_FRAGMENTS": "opt-save-storage",
|
||||
"BTCPAYGEN_CRYPTO4": "ftc",
|
||||
"BTCPAYGEN_CRYPTO3": "btg",
|
||||
"BTCPAYGEN_CRYPTO2": "ltc",
|
||||
"BTCPAYGEN_CRYPTO1": "btc",
|
||||
"BTCPAYGEN_REVERSEPROXY": "nginx",
|
||||
"BTCPAYGEN_ADDITIONAL_FRAGMENTS": "opt-save-storage;opt-txindex"
|
||||
"BTCPAYGEN_REVERSEPROXY": "nginx"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user