You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using the .🔨-create-production-image script to build my application container and generate the docker-compose.prod.yml file. However, it seems to me that the quotes (or double-quotes) surrounding the values are removed and do not appear in the generated docker-compose.prod.yml.
This is especially annoying for the “ports” definition. Here is a quote from the compose file reference page:
When mapping ports in the HOST:CONTAINER format, you may experience erroneous results when using a container port lower than 60, because YAML parses numbers in the format xx:yy as a base-60 value. For this reason, we recommend always explicitly specifying your port mappings as strings.
So here is an example. I have a container which needs the port 21 to be exposed:
This was reported at https://community.toradex.com/t/quotes-automatically-removed-from-docker-compose-prod-yml-file-causing-port-issue/21677
The text was updated successfully, but these errors were encountered: