Check if Address.HostPort is static or dynamic?
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
Research direction
Start by reading the Address struct and the template data path that supplies HostPort, then trace how Docker port mappings are represented for the two examples in the issue. Confirm whether the template can distinguish static and dynamic host ports, and define completion as a documented or tested way for templates to make that distinction.
Written by the indexing model from the issue text.
Description
Is there any way in the template I can tell the difference between ports: "4000" and ports: 5000:4000" in the Address struct? In the first case, HostPort is random, but in the second case it is 5000.
- Dominant language
- Go
- Stars
- 4.6k
- Forks
- 609
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 4
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from nginx-proxy/docker-gen
-
Add image label info Open
Difficulty 5/5 Over a week Newbie friendliness 25/100
nginx-proxy/docker-gen#330 · 1 reaction ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
nginx-proxy/docker-gen#269 ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
nginx-proxy/docker-gen#267 · 4 comments · 13 reactions ·
-
Verbose logging Open
Difficulty 3/5 1-2 days Newbie friendliness 35/100
nginx-proxy/docker-gen#246 · 2 comments · 1 reaction ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
nginx-proxy/docker-gen#240 · 4 comments · 16 reactions ·
All issues in nginx-proxy/docker-gen
Similar issues
-
optimization optimization:agents-md-curator
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
githubnext/gh-aw-cao#13143 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
blinklabs-io/bursa#904 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
yanet-platform/ipfw-go#129 ·
-
bug confmap/provider/googlesecretmanagerprovider needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
open-telemetry/opentelemetry-collector-contrib#51273 · 2 comments ·
-
bug: AI Gateway client filter lists "Unknown" twice when NULL and literal Unknown clients coexist Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 90/100