diff --git a/util/Setup/Context.cs b/util/Setup/Context.cs index d127c300fb..2b6b90726a 100644 --- a/util/Setup/Context.cs +++ b/util/Setup/Context.cs @@ -24,6 +24,8 @@ namespace Bit.Setup { if(!File.Exists(ConfigPath)) { + Console.WriteLine("No existing `config.yml` detected. Let's generate one."); + // Looks like updating from older version. Try to create config file. var url = Helpers.GetValueFronEnvFile("global", "globalSettings__baseServiceUri__vault"); if(!Uri.TryCreate(url, UriKind.Absolute, out var uri)) diff --git a/util/Setup/Templates/DockerCompose.hbs b/util/Setup/Templates/DockerCompose.hbs index 374b867325..9b50866c8b 100644 --- a/util/Setup/Templates/DockerCompose.hbs +++ b/util/Setup/Templates/DockerCompose.hbs @@ -14,9 +14,9 @@ services: restart: always volumes: {{#if MssqlDataDockerVolume}} - - mssql_data:/var/opt/mssql/data + - mssql_data:/var/opt/mssql/data {{else}} - - ../mssql/data:/var/opt/mssql/data + - ../mssql/data:/var/opt/mssql/data {{/if}} - ../logs/mssql:/var/opt/mssql/log - ../mssql/backups:/etc/bitwarden/mssql/backups