From 1b9c18ea315a40920af927665072430a6b627c11 Mon Sep 17 00:00:00 2001 From: Kavin <20838718+FireMasterK@users.noreply.github.com> Date: Mon, 24 Oct 2022 12:58:47 +0100 Subject: [PATCH] Increase shm size and add depends_on. --- docker-compose.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index eca6098..2e289d8 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -14,6 +14,7 @@ services: postgres: image: postgres:15-alpine container_name: postgres-sb-mirror + shm_size: 1g # ports: # - 5432:5432 volumes: @@ -32,5 +33,8 @@ services: ports: - 8000:8000 restart: unless-stopped + depends_on: + - postgres + - sb-mirror volumes: postgres_data: null