config variable of type int #1446
-
I am trying to create a container with a port taken from a config value. I thought I could do something like this:
The schema validation complains that the default property on the config variable is of type string. I've tried various workarounds of such as Is this achievable and if so how? Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Unfortunately, config variables are only supported in a limited number of fields, and a port binding is not one of them. This page in the docs lists where config variables are supported. #990 is an open proposal to make config variables (and expressions generally) work everywhere. |
Beta Was this translation helpful? Give feedback.
Unfortunately, config variables are only supported in a limited number of fields, and a port binding is not one of them. This page in the docs lists where config variables are supported.
#990 is an open proposal to make config variables (and expressions generally) work everywhere.