From f7c6dcb067cf162938f531254cc377ea96974d80 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Mon, 25 Mar 2019 09:23:50 -0400 Subject: [PATCH] depends on --- util/Setup/Templates/DockerCompose.hbs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/util/Setup/Templates/DockerCompose.hbs b/util/Setup/Templates/DockerCompose.hbs index cfb84f1b4..7a76e608d 100644 --- a/util/Setup/Templates/DockerCompose.hbs +++ b/util/Setup/Templates/DockerCompose.hbs @@ -57,6 +57,8 @@ services: image: bitwarden/api:{{{CoreVersion}}} container_name: bitwarden-api restart: always + depends_on: + - "mssql" volumes: - ../core:/etc/bitwarden/core - ../ca-certificates:/etc/bitwarden/ca-certificates @@ -120,6 +122,8 @@ services: image: bitwarden/nginx:{{{CoreVersion}}} container_name: bitwarden-nginx restart: always + depends_on: + - "api" {{#if HasPort}} ports: {{#if HttpPort}}