diff --git a/util/Setup/Templates/DockerCompose.hbs b/util/Setup/Templates/DockerCompose.hbs index cfb84f1b4f..7a76e608de 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}}