common-infra-nginx

This commit is contained in:
Administrator 2022-10-18 20:36:00 +03:00
parent dcde7c5918
commit 1d94994b97
3 changed files with 6 additions and 1 deletions

View File

@ -8,6 +8,7 @@ services:
networks: networks:
- battleship-net - battleship-net
- battleship-nginx - battleship-nginx
- common-infra-nginx
deploy: deploy:
mode: replicated mode: replicated
restart_policy: restart_policy:
@ -55,3 +56,5 @@ networks:
driver: overlay driver: overlay
battleship-nginx: battleship-nginx:
external: true external: true
common-infra-nginx:
external: true

View File

@ -8,6 +8,7 @@ services:
networks: networks:
- battleship-net - battleship-net
- battleship-nginx - battleship-nginx
- common-infra-nginx
deploy: deploy:
mode: replicated mode: replicated
restart_policy: restart_policy:
@ -54,3 +55,5 @@ networks:
driver: overlay driver: overlay
battleship-nginx: battleship-nginx:
external: true external: true
common-infra-nginx:
external: true

View File

@ -26,7 +26,6 @@ test:
.deploy: .deploy:
before_script: before_script:
- docker login -u mathwave -p $DOCKERHUB_PASSWORD - docker login -u mathwave -p $DOCKERHUB_PASSWORD
- docker network create -d overlay --attachable battleship-nginx || true
deploy-dev: deploy-dev:
extends: extends: