diff --git a/ansible/roles/our/tasks/deploy.yml b/ansible/roles/our/tasks/deploy.yml index ffef7f8..a2325a6 100644 --- a/ansible/roles/our/tasks/deploy.yml +++ b/ansible/roles/our/tasks/deploy.yml @@ -47,12 +47,12 @@ name: our-green compose: - /etc/futureporn/our/compose.production.yaml - - | + - version: "3" services: server: ports: - - target: 5000 - published: 8086 + - target: 5000 # container port + published: 8086 # Swarm ingress port protocol: tcp mode: ingress @@ -62,15 +62,14 @@ name: our-blue compose: - /etc/futureporn/our/compose.production.yaml - - | + - version: "3" services: server: ports: - - target: 5000 - published: 8087 + - target: 5000 # container port + published: 8087 # Swarm ingress port protocol: tcp mode: ingress - # - name: Remove stack # community.docker.docker_stack: # name: mystack