From 89fe4fbcc20daa441c2c9b10208502b99b697e89 Mon Sep 17 00:00:00 2001 From: Nuttapon Pramoolsin Date: Thu, 18 Jul 2024 19:56:37 +0700 Subject: [PATCH] COD-87 - added network layer --- docker-compose.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index e4ccd80..f5bd0b0 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -11,6 +11,8 @@ services: reservations: cpus: "0.25" memory: "128M" + networks: + - backend ports: - "3000:3000" volumes: @@ -18,3 +20,7 @@ services: environment: - CONFIG_FILE=config/config.yml restart: unless-stopped + +networks: + backend: + driver: bridge