forked from LaconicNetwork/kompose
Fix port duplicate in container spec (#1223)
This commit is contained in:
@@ -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": {
|
||||
|
||||
Reference in New Issue
Block a user