mirror of
https://github.com/bitwarden/server.git
synced 2024-11-21 12:05:42 +01:00
Remove ComposeVersion from template (#3972)
This commit is contained in:
parent
0512102189
commit
122d1b7ed7
@ -31,10 +31,6 @@ public class Configuration
|
||||
"Learn more: https://docs.docker.com/compose/compose-file/#ports")]
|
||||
public string HttpsPort { get; set; } = "443";
|
||||
|
||||
[Description("Docker compose file version. Leave empty for default.\n" +
|
||||
"Learn more: https://docs.docker.com/compose/compose-file/compose-versioning/")]
|
||||
public string ComposeVersion { get; set; }
|
||||
|
||||
[Description("Configure Nginx for Captcha.")]
|
||||
public bool Captcha { get; set; } = false;
|
||||
|
||||
|
@ -42,10 +42,6 @@ public class DockerComposeBuilder
|
||||
{
|
||||
public TemplateModel(Context context)
|
||||
{
|
||||
if (!string.IsNullOrWhiteSpace(context.Config.ComposeVersion))
|
||||
{
|
||||
ComposeVersion = context.Config.ComposeVersion;
|
||||
}
|
||||
MssqlDataDockerVolume = context.Config.DatabaseDockerVolume;
|
||||
EnableKeyConnector = context.Config.EnableKeyConnector;
|
||||
EnableScim = context.Config.EnableScim;
|
||||
@ -65,7 +61,6 @@ public class DockerComposeBuilder
|
||||
}
|
||||
}
|
||||
|
||||
public string ComposeVersion { get; set; } = "3";
|
||||
public bool MssqlDataDockerVolume { get; set; }
|
||||
public bool EnableKeyConnector { get; set; }
|
||||
public bool EnableScim { get; set; }
|
||||
|
@ -13,8 +13,6 @@
|
||||
# ./bwdata/config.yml file for your installation. #
|
||||
#########################################################################
|
||||
|
||||
version: '{{{ComposeVersion}}}'
|
||||
|
||||
services:
|
||||
mssql:
|
||||
image: bitwarden/mssql:{{{CoreVersion}}}
|
||||
|
Loading…
Reference in New Issue
Block a user