mirror of
https://github.com/bitwarden/server.git
synced 2024-11-22 12:15:36 +01:00
lock windows at mssql cu2
This commit is contained in:
parent
7878362a51
commit
b703eeefdb
@ -15,7 +15,13 @@ namespace Bit.Setup
|
||||
}
|
||||
if(!string.IsNullOrWhiteSpace(coreVersion))
|
||||
{
|
||||
CoreVersion = coreVersion;
|
||||
CoreVersion = MssqlVersion = coreVersion;
|
||||
}
|
||||
|
||||
// Lock Windows at mssql CU2 due to various problems with later mssql docker builds.
|
||||
if(os == "win")
|
||||
{
|
||||
MssqlVersion = "1.16.0";
|
||||
}
|
||||
}
|
||||
|
||||
@ -24,6 +30,7 @@ namespace Bit.Setup
|
||||
public int HttpsPort { get; private set; }
|
||||
public string CoreVersion { get; private set; } = "latest";
|
||||
public string WebVersion { get; private set; } = "latest";
|
||||
public string MssqlVersion { get; private set; } = "latest";
|
||||
|
||||
public void BuildForInstaller(int httpPort, int httpsPort)
|
||||
{
|
||||
@ -95,12 +102,13 @@ namespace Bit.Setup
|
||||
# Parameter:HttpsPort={HttpsPort}
|
||||
# Parameter:CoreVersion={CoreVersion}
|
||||
# Parameter:WebVersion={WebVersion}
|
||||
# Parameter:MssqlVersion={MssqlVersion}
|
||||
|
||||
version: '3'
|
||||
|
||||
services:
|
||||
mssql:
|
||||
image: bitwarden/mssql:{CoreVersion}
|
||||
image: bitwarden/mssql:{MssqlVersion}
|
||||
container_name: bitwarden-mssql
|
||||
restart: always
|
||||
volumes:");
|
||||
|
Loading…
Reference in New Issue
Block a user