Quote port numbers due to YAML issues #855
NicholasFlamy
started this conversation in
Feature Request
Replies: 2 comments
-
|
I'm not sure if this is all that is being done to the compose file: Line 121 in e31f766 |
Beta Was this translation helpful? Give feedback.
0 replies
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
-
🏷️ Feature Request Type
Other
🔖 Feature description
As is specified in the official Docker Compose documentation, ports should be single or double-quoted to avoid YAML base-60 conflicts: https://docs.docker.com/reference/compose-file/services/#ports
✔️ Solution
Make the formatter that runs on compose files keep quotes around the port numbers. (Right now it removes them.)
❓ Alternatives
No response
📝 Additional Context
No response
Beta Was this translation helpful? Give feedback.
All reactions