nginx-proxy / nginx-proxy/docker-gen
Add image label info
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 4.6k
- Forks
- 609
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 4
Description
I'd like to default some container / service labels using image labels - so that (for example) https://github.com/wemake-services/caddy-gen/ could have an image label virtual.port set in a Dockerfile label - so users don't need to set it on every container.
Similarly, exposing the port setting could be interesting - though more complicated to deal with when there are multiple ports set.
is this a bad idea? should I try to make a PR?
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.
Research direction
No files, tests, or entry points are named. Start by locating how docker-gen reads container metadata and existing labels, then define how image-label defaults should interact with container labels and multiple exposed ports; done means the behavior and precedence are specified and covered by tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, go
- Domain
- devops
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100