From a1bec535e61560d562902aa652c69cedb6540b72 Mon Sep 17 00:00:00 2001 From: Victor Porton Date: Fri, 2 Jul 2021 06:20:41 +0000 Subject: [PATCH] removed commented out code --- docker-compose.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 68870ee..750c466 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -3,6 +3,7 @@ version: "3" services: # Postgres Configuration postgres: + shm_size: 256mb image: postgres:12 volumes: - database:/var/lib/postgresql/data @@ -18,13 +19,14 @@ services: command: -p ${DATABASE_PORT} # Gateway Configuration server: + depends_on: + - postgres + network_mode: host build: context: . dockerfile: ./docker/gateway.dockerfile volumes: - app:/app - links: - - postgres ports: - ${PORT}:${PORT} environment: @@ -32,4 +34,4 @@ services: volumes: database: - app: \ No newline at end of file + app: