8000 IPv6 addresses can be in brackets for services.ports by k9withabone · Pull Request #530 · compose-spec/compose-spec · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

IPv6 addresses can be in brackets for services.ports #530

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking &l 8000 dquo;Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

k9withabone
Copy link

What this PR does / why we need it:

Specifies that IPv6 addresses in the ports short syntax can be enclosed in square brackets. This is already mentioned for the extra_hosts attribute, but not for ports. The reference library (compose-go) already supports IPv6 addresses with or without square brackets. This commit documents that fact and adds a couple of examples.

Which issue(s) this PR fixes:

N/A, minor documentation change/clarification.

Specifies that IPv6 addresses in the ports short syntax can be enclosed
in square brackets. This is already mentioned for the extra_hosts
attribute, but not for ports. The reference library (compose-go) already
supports IPv6 addresses with or without square brackets. This commit
documents that fact and adds a couple of examples.

Signed-off-by: Paul Nettleton <k9@k9withabone.dev>
@ndeloof
Copy link
Collaborator
ndeloof commented Jan 9, 2025

please run make spec to get the single-page spec aligned with changes

@aevesdocker aevesdocker mentioned this pull request Jan 13, 2025
3 tasks
aevesdocker added a commit to docker/docs that referenced this pull request Jan 13, 2025
<!--Delete sections as needed -->

## Description

Updates Compose Spec with content in
compose-spec/compose-spec#530
Also some freshness of the `ports` attribute

## Related issues or tickets

<!-- Related issues, pull requests, or Jira tickets -->

## Reviews

<!-- Notes for reviewers here -->
<!-- List applicable reviews (optionally @tag reviewers) -->

- [ ] Technical review
- [ ] Editorial review
- [ ] Product review
@ndeloof
Copy link
Collaborator
ndeloof commented Mar 14, 2025

ping

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
0