From 5a44ce4f0e068b63b0f23399b0977b81baf840b5 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Thu, 30 Aug 2018 16:40:06 -0400 Subject: [PATCH] fix compose template indention --- util/Setup/Context.cs | 2 ++ util/Setup/Templates/DockerCompose.hbs | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) 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