mirror of
https://github.com/bitwarden/server.git
synced 2024-11-26 12:55:17 +01:00
Add Config Option For Disabling Built In MSSQL Container
This commit is contained in:
parent
724f2ee5e5
commit
6802a01b32
@ -97,6 +97,9 @@ public class Configuration
|
||||
[Description("Enable SCIM")]
|
||||
public bool EnableScim { get; set; } = false;
|
||||
|
||||
[Description("Disable Built-In MSSQL Container Generation")]
|
||||
public bool DisableBuiltInMsSql { get; set; }
|
||||
|
||||
[YamlIgnore]
|
||||
public string Domain
|
||||
{
|
||||
|
@ -42,6 +42,7 @@ public class DockerComposeBuilder
|
||||
{
|
||||
public TemplateModel(Context context)
|
||||
{
|
||||
DisableBuiltInMsSql = context.Config.DisableBuiltInMsSql;
|
||||
MssqlDataDockerVolume = context.Config.DatabaseDockerVolume;
|
||||
EnableKeyConnector = context.Config.EnableKeyConnector;
|
||||
EnableScim = context.Config.EnableScim;
|
||||
@ -61,6 +62,7 @@ public class DockerComposeBuilder
|
||||
}
|
||||
}
|
||||
|
||||
public bool DisableBuiltInMsSql { get; set; }
|
||||
public bool MssqlDataDockerVolume { get; set; }
|
||||
public bool EnableKeyConnector { get; set; }
|
||||
public bool EnableScim { get; set; }
|
||||
|
@ -14,6 +14,7 @@
|
||||
#########################################################################
|
||||
|
||||
services:
|
||||
{{#if DisableBuiltInMsSql}}
|
||||
mssql:
|
||||
image: bitwarden/mssql:{{{CoreVersion}}}
|
||||
container_name: bitwarden-mssql
|
||||
@ -31,6 +32,7 @@ services:
|
||||
- mssql.env
|
||||
- ../env/uid.env
|
||||
- ../env/mssql.override.env
|
||||
{{/if}}
|
||||
|
||||
web:
|
||||
image: bitwarden/web:{{{WebVersion}}}
|
||||
|
Loading…
Reference in New Issue
Block a user