Fix port duplicate in container spec (#1223)

This commit is contained in:
Hang Yan
2019-12-29 11:32:33 +08:00
committed by GitHub
parent 25337eb82c
commit 0a2fa1a978
8 changed files with 17 additions and 13 deletions
@@ -5,6 +5,7 @@ services:
image: tuna/docker-counter23
ports:
- "5000:5000/tcp"
- "5001:5000/tcp"
links:
- redis
networks:
@@ -59,6 +59,11 @@
"name": "5000",
"port": 5000,
"targetPort": 5000
},
{
"name": "5001",
"port": 5001,
"targetPort": 5000
}
],
"selector": {
@@ -59,6 +59,11 @@
"name": "5000",
"port": 5000,
"targetPort": 5000
},
{
"name": "5001",
"port": 5001,
"targetPort": 5000
}
],
"selector": {