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