From f5e91977e727fb3f430be69a364174b26ea5f8a5 Mon Sep 17 00:00:00 2001 From: Administrator Date: Tue, 30 Aug 2022 22:08:45 +0300 Subject: [PATCH] prod --- .deploy/deploy-prod.yaml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.deploy/deploy-prod.yaml b/.deploy/deploy-prod.yaml index eb0ed1d..88f25f5 100644 --- a/.deploy/deploy-prod.yaml +++ b/.deploy/deploy-prod.yaml @@ -3,18 +3,15 @@ version: "3.4" services: - nginx: + battleship-nginx: image: mathwave/sprint-repo:battleship-nginx networks: - battleship-net - ports: - - "1236:80" + - battleship-nginx deploy: mode: replicated restart_policy: condition: any - placement: - constraints: [node.role == manager] update_config: parallelism: 1 order: start-first @@ -55,3 +52,5 @@ services: networks: battleship-net: driver: overlay + battleship-nginx: + external: true \ No newline at end of file