'How to declare a port Range in Tye?

In docker compose I can declare a port range as

ports:
  - "10250-10254:10250-10254"

Is there a way to do this using Tye other than listing them one by one?



Solution 1:[1]

Based on the current tye schema it looks like you must define each port one by one.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 CER