From 04f4b3a4204df4775003ad30bd7e851a038cd4be Mon Sep 17 00:00:00 2001 From: Administrator Date: Tue, 30 Aug 2022 21:58:53 +0300 Subject: [PATCH] battleship --- .deploy/deploy-dev.yaml | 8 ++------ nginx/nginx-dev/nginx-dev.conf | 2 +- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/.deploy/deploy-dev.yaml b/.deploy/deploy-dev.yaml index 67e5510..bab3437 100644 --- a/.deploy/deploy-dev.yaml +++ b/.deploy/deploy-dev.yaml @@ -5,10 +5,8 @@ services: image: mathwave/sprint-repo:sprint-infra-nginx-dev ports: - "80:80" - - "443:443" networks: - - nginx-dev - - nginx-battleship + - battleship-nginx deploy: mode: replicated replicas: 1 @@ -108,7 +106,5 @@ volumes: driver: local networks: - dev-nginx: - driver: overlay battleship-nginx: - driver: overlay \ No newline at end of file + external: true \ No newline at end of file diff --git a/nginx/nginx-dev/nginx-dev.conf b/nginx/nginx-dev/nginx-dev.conf index 1ad7c94..ae4c7ed 100644 --- a/nginx/nginx-dev/nginx-dev.conf +++ b/nginx/nginx-dev/nginx-dev.conf @@ -44,7 +44,7 @@ http { server_name battleship.develop.sprinthub.ru; location / { - proxy_pass http://dev.develop.sprinthub.ru:1236/; + proxy_pass http://battleship-nginx:1236/; } } } \ No newline at end of file