From b29974e0acc2f02fa2f517a126dbe0d002f1ced1 Mon Sep 17 00:00:00 2001
From: Piotr Biernat <keedosn@gmail.com>
Date: Sat, 24 Jun 2023 19:55:37 +0200
Subject: [PATCH] Update mikr.us env

---
 deploy/egommerce-stack.dev.yml | 2 --
 deploy/egommerce-stack.yml     | 3 ++-
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/deploy/egommerce-stack.dev.yml b/deploy/egommerce-stack.dev.yml
index 83247b6..19e86ac 100644
--- a/deploy/egommerce-stack.dev.yml
+++ b/deploy/egommerce-stack.dev.yml
@@ -5,8 +5,6 @@ services:
     image: git.pbiernat.dev/egommerce/api-gateway:dev
     environment:
       - APP_DOMAIN=api-gateway
-    volumes:
-      - ./certs/api-gateway:/etc/traefik/certs
 
   api-registry:
     image: git.pbiernat.dev/egommerce/api-registry:dev
diff --git a/deploy/egommerce-stack.yml b/deploy/egommerce-stack.yml
index 562a675..c6b2ab0 100644
--- a/deploy/egommerce-stack.yml
+++ b/deploy/egommerce-stack.yml
@@ -11,6 +11,7 @@ services:
       - APP_DOMAIN
       - API_REGISTRY_REFRESH_INTERVAL=5s
     volumes:
+      - ./certs/api-gateway:/etc/traefik/certs
       - /var/run/docker.sock:/var/run/docker.sock
     networks:
       - api-gateway-network
@@ -25,7 +26,7 @@ services:
       - CONSUL_HTTP_TOKEN=VeryS3cr3tTok3N
     volumes:
       - registry_data:/consul/data
-      # - ./
+      - ./certs/api-registry:/etc/traefik/certs
     networks:
       - api-registry-network
       - api-logger-network