diff --git a/.deploy-infra/deploy-dev.yaml b/.deploy-infra/deploy-dev.yaml index e9c78e4..0b893b7 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 @@ -18,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