From de26ebe88e0148dbb5eebaa0a8bf5a3fa56905a8 Mon Sep 17 00:00:00 2001 From: emmatveev Date: Sat, 23 Nov 2024 21:16:59 +0300 Subject: [PATCH 1/2] fix --- .deploy-infra/deploy-dev.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.deploy-infra/deploy-dev.yaml b/.deploy-infra/deploy-dev.yaml index e9c78e4..90521c9 100644 --- a/.deploy-infra/deploy-dev.yaml +++ b/.deploy-infra/deploy-dev.yaml @@ -7,8 +7,12 @@ services: networks: - common-infra-nginx-development ports: - - "80:80" - - "443:443" + - published: 80 + target: 80 + mode: host + - published: 443 + target: 443 + mode: host deploy: mode: replicated replicas: 1 -- 2.45.2 From dc7029ce7b029a90fd4446d870f912e9622829dc Mon Sep 17 00:00:00 2001 From: emmatveev Date: Sat, 23 Nov 2024 21:43:20 +0300 Subject: [PATCH 2/2] fix --- .deploy-infra/deploy-dev.yaml | 2 +- .deploy-infra/deploy-prod.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.deploy-infra/deploy-dev.yaml b/.deploy-infra/deploy-dev.yaml index 90521c9..0b893b7 100644 --- a/.deploy-infra/deploy-dev.yaml +++ b/.deploy-infra/deploy-dev.yaml @@ -22,7 +22,7 @@ services: constraints: [node.labels.stage == development] update_config: parallelism: 1 - order: start-first + # order: stop-first postgres: image: postgres:14-alpine3.19 diff --git a/.deploy-infra/deploy-prod.yaml b/.deploy-infra/deploy-prod.yaml index cad5e3f..b34eaec 100644 --- a/.deploy-infra/deploy-prod.yaml +++ b/.deploy-infra/deploy-prod.yaml @@ -22,7 +22,7 @@ services: constraints: [node.labels.stage == production] update_config: parallelism: 1 - order: start-first + # order: start-first postgres: image: postgres:14-alpine3.19 -- 2.45.2