forked from LaconicNetwork/kompose
Support port range for docker-compose v2 (#1345)
* allow port range specification in v1v2 * improve tests for loadPorts * add port range to fixtures of docker-compose v2 * update fixtures to follow up on #1341
This commit is contained in:
+7
-1
@@ -8,9 +8,15 @@ services:
|
||||
environment:
|
||||
GITHUB: surajssd
|
||||
ports:
|
||||
- "2345"
|
||||
- "6379/tcp"
|
||||
- "6379/udp"
|
||||
- "3000"
|
||||
- "3000-3005"
|
||||
- "8000:8000"
|
||||
- "9090-9091:8080-8081"
|
||||
- "49100:22"
|
||||
- "127.0.0.1:8001:8001"
|
||||
- "127.0.0.1:5000-5010:5000-5010"
|
||||
mem_limit: 10000
|
||||
|
||||
group_add:
|
||||
|
||||
Reference in New Issue
Block a user