mirror of
https://github.com/dockersamples/example-voting-app.git
synced 2026-07-10 17:09:28 +00:00
Version Was invalid, Fix to Version3 docker-compose
replicas cant be 2 because of port allocation
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user