From cedaffa2393176a54f9713e6c10cb5a949bb0338 Mon Sep 17 00:00:00 2001 From: Administrator Date: Tue, 30 Aug 2022 21:43:01 +0300 Subject: [PATCH] nginx --- .deploy/deploy-dev.yaml | 5 ++++- .gitlab-ci.yml | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.deploy/deploy-dev.yaml b/.deploy/deploy-dev.yaml index 218a8ca..f5ba0ec 100644 --- a/.deploy/deploy-dev.yaml +++ b/.deploy/deploy-dev.yaml @@ -52,4 +52,7 @@ services: networks: battleship-net: - driver: overlay \ No newline at end of file + driver: overlay + public: + external: + name: battleship-nginx \ No newline at end of file diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2842bef..10718ba 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -18,7 +18,7 @@ build: .deploy: before_script: - docker login -u mathwave -p $DOCKERHUB_PASSWORD - - docker network create -d overlay battleship-nginx + - docker network create -driver overlay --attachable battleship-nginx deploy-dev: extends: