feat: allow user to specify domain in container labels in order to identify it (#198)

* feat: allow user to specify domain in container labels in order to identify it

* refactor: remove port from domain before getting container
This commit is contained in:
Stavros
2025-06-15 20:30:52 +03:00
committed by GitHub
parent 3397e2aa8e
commit aed29d2923
4 changed files with 24 additions and 25 deletions

View File

@@ -201,7 +201,7 @@ func GetLabels(labels map[string]string) (types.Labels, error) {
var labelsParsed types.Labels
// Decode the labels into the labels struct
err := parser.Decode(labels, &labelsParsed, "tinyauth", "tinyauth.users", "tinyauth.allowed", "tinyauth.headers", "tinyauth.oauth")
err := parser.Decode(labels, &labelsParsed, "tinyauth", "tinyauth.users", "tinyauth.allowed", "tinyauth.headers", "tinyauth.domain", "tinyauth.oauth")
// Check if there was an error
if err != nil {