Version Was invalid, Fix to Version3 docker-compose

replicas cant be 2 because of port allocation
This commit is contained in:
DanArlowski
2020-11-04 10:14:53 +02:00
committed by GitHub
parent 245c8f3aa1
commit 6494a7a7e0

View File

@@ -1,4 +1,4 @@
version: ':8080'
version: '3'
services:
redis:
@@ -17,7 +17,7 @@ services:
ports:
- "5000:80"
deploy:
replicas: 2
replicas: 1
result:
image: dockersamples/examplevotingapp_result:before
ports: