use yaml literal block
This commit is contained in:
parent
1f82c4e7e4
commit
c2d66d9618
@ -47,11 +47,12 @@
|
||||
name: our-green
|
||||
compose:
|
||||
- /etc/futureporn/our/compose.production.yaml
|
||||
- services:
|
||||
- |
|
||||
services:
|
||||
server:
|
||||
ports:
|
||||
- target: 5000 # container port
|
||||
published: 8086 # Swarm ingress port
|
||||
- target: 5000
|
||||
published: 8086
|
||||
protocol: tcp
|
||||
mode: ingress
|
||||
|
||||
@ -61,13 +62,15 @@
|
||||
name: our-blue
|
||||
compose:
|
||||
- /etc/futureporn/our/compose.production.yaml
|
||||
- services:
|
||||
- |
|
||||
services:
|
||||
server:
|
||||
ports:
|
||||
- target: 5000 # container port
|
||||
published: 8087 # Swarm ingress port
|
||||
- target: 5000
|
||||
published: 8087
|
||||
protocol: tcp
|
||||
mode: ingress
|
||||
|
||||
# - name: Remove stack
|
||||
# community.docker.docker_stack:
|
||||
# name: mystack
|
||||
|
Loading…
x
Reference in New Issue
Block a user