1
0
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:
MtnBurrit0 2024-04-15 14:38:39 -06:00 committed by GitHub
parent 0512102189
commit 122d1b7ed7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 0 additions and 11 deletions

View File

@ -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;

View File

@ -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; }

View File

@ -13,8 +13,6 @@
# ./bwdata/config.yml file for your installation. #
#########################################################################
version: '{{{ComposeVersion}}}'
services:
mssql:
image: bitwarden/mssql:{{{CoreVersion}}}