mirror of
https://github.com/bitwarden/server.git
synced 2025-02-16 01:51:21 +01:00
preserve MssqlDataDockerVolume
This commit is contained in:
parent
22bc85f651
commit
70aacb45e5
@ -58,13 +58,20 @@ namespace Bit.Setup
|
||||
continue;
|
||||
}
|
||||
|
||||
if(paramParts[0] == "# Parameter:HttpPort" && int.TryParse(paramParts[1], out int httpPort))
|
||||
if(paramParts[0] == "# Parameter:MssqlDataDockerVolume" &&
|
||||
bool.TryParse(paramParts[1], out var mssqlDataDockerVolume))
|
||||
{
|
||||
MssqlDataDockerVolume = mssqlDataDockerVolume;
|
||||
continue;
|
||||
}
|
||||
|
||||
if(paramParts[0] == "# Parameter:HttpPort" && int.TryParse(paramParts[1], out var httpPort))
|
||||
{
|
||||
HttpPort = httpPort;
|
||||
continue;
|
||||
}
|
||||
|
||||
if(paramParts[0] == "# Parameter:HttpsPort" && int.TryParse(paramParts[1], out int httpsPort))
|
||||
if(paramParts[0] == "# Parameter:HttpsPort" && int.TryParse(paramParts[1], out var httpsPort))
|
||||
{
|
||||
HttpsPort = httpsPort;
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user