From 8327f9977756a2971de68e830ec5093220a5f47b Mon Sep 17 00:00:00 2001 From: Toby Murray Date: Sun, 16 Jun 2024 11:14:56 -0700 Subject: [PATCH 1/4] Comment ports for each service --- docker-compose.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index ea4aae2f..aa13f865 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -8,7 +8,7 @@ services: depends_on: [] volumes: [ ./apps/frontend/src:/app/src ] environment: [] - ports: [ 8101:8101 ] + #ports: [ 8101:8101 ] networks: [ proxy-frontend ] proxy: @@ -18,7 +18,7 @@ services: depends_on: [] volumes: [ ./apps/proxy:/app ] environment: [] - ports: [ 80:80, 443:443 ] + #ports: [ 80:80, 443:443 ] networks: [ proxy-frontend, proxy-user, proxy-listing, proxy-review, proxy-message, proxy-search, proxy-recommend ] user: @@ -32,7 +32,7 @@ services: volumes: [ ./apps/backend/user/src:/app/service/src ] environment: - DB_ENDPOINT=postgres://martletplace:johuigytfrdcv@datalayer:8300/martletplace - ports: [ 8211:8211 ] + #ports: [ 8211:8211 ] networks: [ proxy-user, user-datalayer ] listing: @@ -46,7 +46,7 @@ services: volumes: [ ./apps/backend/listing/src:/app/service/src ] environment: - DB_ENDPOINT=postgres://martletplace:johuigytfrdcv@datalayer:8300/martletplace - ports: [ 8212:8212 ] + #ports: [ 8212:8212 ] networks: [ proxy-listing, listing-datalayer ] review: @@ -60,7 +60,7 @@ services: volumes: [ ./apps/backend/review/src:/app/service/src ] environment: - DB_ENDPOINT=postgres://martletplace:johuigytfrdcv@datalayer:8300/martletplace - ports: [ 8213:8213 ] + #ports: [ 8213:8213 ] networks: [ proxy-review, review-datalayer ] message: @@ -71,7 +71,7 @@ services: volumes: [ ./apps/backend/message/src:/app/src ] environment: - DB_ENDPOINT=postgres://martletplace:johuigytfrdcv@datalayer:8300/martletplace - ports: [ 8214:8214 ] + #ports: [ 8214:8214 ] networks: [ proxy-message, message-datalayer ] search: @@ -82,7 +82,7 @@ services: volumes: [ ./apps/algorithm/search/src:/app/src ] environment: - ES_ENDPOINT=https://elastic:serxdfcghjfc@elasticsearch:8311 - ports: [ 8221:8221 ] + #ports: [ 8221:8221 ] networks: [ proxy-search, search-datalayer ] recommend: @@ -92,7 +92,7 @@ services: depends_on: [] volumes: [ ./apps/algorithm/recommend/src:/app/src ] environment: [] - ports: [ 8222:8222 ] + #ports: [ 8222:8222 ] networks: [ proxy-recommend, recommend-datalayer ] datalayer: @@ -108,7 +108,7 @@ services: - POSTGRESQL_DATABASE=martletplace - POSTGRESQL_HOST=database - POSTGRESQL_PORT=8310 - ports: [ 8300:8300, 8301:8301 ] + #ports: [ 8300:8300, 8301:8301 ] networks: [ datalayer-database, datalayer-elasticsearch, datalayer-cache, datalayer-blob ] database: @@ -121,7 +121,7 @@ services: - POSTGRES_USER=martletplace - POSTGRES_PASSWORD=johuigytfrdcv - POSTGRES_DB=martletplace - ports: [ 8310:8310 ] + #ports: [ 8310:8310 ] networks: [ datalayer-database ] elasticsearch: @@ -132,7 +132,7 @@ services: volumes: [] environment: - ELASTIC_PASSWORD=serxdfcghjfc - ports: [ 8311:8311 ] + #ports: [ 8311:8311 ] networks: [ datalayer-elasticsearch, search-datalayer ] mem_limit: 1GB From 409e5525c0f6c6183155d258815f0602d5f2f114 Mon Sep 17 00:00:00 2001 From: Toby Murray <63079400+TobySMurray@users.noreply.github.com> Date: Tue, 18 Jun 2024 16:54:26 -0700 Subject: [PATCH 2/4] Update docker-compose.yml --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index aa13f865..2de15e67 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -18,7 +18,7 @@ services: depends_on: [] volumes: [ ./apps/proxy:/app ] environment: [] - #ports: [ 80:80, 443:443 ] + ports: [ 80:80, 443:443 ] networks: [ proxy-frontend, proxy-user, proxy-listing, proxy-review, proxy-message, proxy-search, proxy-recommend ] user: From 14ed680351aa0cf52aeb05088b3827f5960308d3 Mon Sep 17 00:00:00 2001 From: Toby Murray <63079400+TobySMurray@users.noreply.github.com> Date: Tue, 18 Jun 2024 16:54:56 -0700 Subject: [PATCH 3/4] Update docker-compose.yml --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 2de15e67..c45616f2 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -18,7 +18,7 @@ services: depends_on: [] volumes: [ ./apps/proxy:/app ] environment: [] - ports: [ 80:80, 443:443 ] + ports: [ 80:80, 443:443 ] networks: [ proxy-frontend, proxy-user, proxy-listing, proxy-review, proxy-message, proxy-search, proxy-recommend ] user: From f8276daa8a76271ff027b0700996b681ed36b940 Mon Sep 17 00:00:00 2001 From: Toby Murray <63079400+TobySMurray@users.noreply.github.com> Date: Tue, 18 Jun 2024 16:56:04 -0700 Subject: [PATCH 4/4] Update docker-compose.yml --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index c45616f2..b1767b3a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -18,7 +18,7 @@ services: depends_on: [] volumes: [ ./apps/proxy:/app ] environment: [] - ports: [ 80:80, 443:443 ] + ports: [ 80:80, 443:443 ] networks: [ proxy-frontend, proxy-user, proxy-listing, proxy-review, proxy-message, proxy-search, proxy-recommend ] user: