deploy networks

This commit is contained in:
Administrator 2022-10-18 18:27:10 +03:00
parent c34175b262
commit 2678766ba9
2 changed files with 6 additions and 0 deletions

View File

@ -8,6 +8,7 @@ services:
networks: networks:
- battleship-net - battleship-net
- battleship-nginx - battleship-nginx
- sprint-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
sprint-nginx:
external: true

View File

@ -8,6 +8,7 @@ services:
networks: networks:
- battleship-net - battleship-net
- battleship-nginx - battleship-nginx
- sprint-nginx
deploy: deploy:
mode: replicated mode: replicated
restart_policy: restart_policy:
@ -53,4 +54,6 @@ networks:
battleship-net: battleship-net:
driver: overlay driver: overlay
battleship-nginx: battleship-nginx:
external: true
sprint-nginx:
external: true external: true