Skip to content

Conversation

7-zete-7
Copy link
Contributor

Docker Compose has a special attribute port.name for naming ports. I suggest using this attribute instead of port comments.

See compose-spec/compose-spec#464

Copy link
Owner

@dunglas dunglas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea. I suggest making the naming consistent with the one in the examples.

@7-zete-7
Copy link
Contributor Author

@dunglas Changed the port names to the suggested ones.

@dunglas dunglas merged commit e033f95 into dunglas:main Oct 13, 2025
1 of 2 checks passed
@dunglas
Copy link
Owner

dunglas commented Oct 13, 2025

Thanks!

@7-zete-7 7-zete-7 deleted the chore/port-name branch October 13, 2025 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants