{"id":22066010,"url":"https://github.com/adyanth/traefik-container-manager-service","last_synced_at":"2025-05-13T01:54:42.468Z","repository":{"id":104081003,"uuid":"376608769","full_name":"adyanth/traefik-container-manager-service","owner":"adyanth","description":"Service for https://github.com/adyanth/traefik-container-manager","archived":false,"fork":false,"pushed_at":"2021-06-15T17:24:49.000Z","size":39,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-06T17:22:22.875Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/adyanth.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2021-06-13T18:01:46.000Z","updated_at":"2023-03-18T13:44:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"efbfc332-5bb7-440f-ba95-2c609b4735f0","html_url":"https://github.com/adyanth/traefik-container-manager-service","commit_stats":{"total_commits":6,"total_committers":1,"mean_commits":6.0,"dds":0.0,"last_synced_commit":"760c4570422cb52c129c789d6b2101cdd3ecafed"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adyanth%2Ftraefik-container-manager-service","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adyanth%2Ftraefik-container-manager-service/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adyanth%2Ftraefik-container-manager-service/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adyanth%2Ftraefik-container-manager-service/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adyanth","download_url":"https://codeload.github.com/adyanth/traefik-container-manager-service/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253472310,"owners_count":21914032,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-30T19:23:15.901Z","updated_at":"2025-05-13T01:54:42.445Z","avatar_url":"https://github.com/adyanth.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# traefik-container-manager-service\n\nThis works in combination with the `traefik-container-manager` middleware.\n\nThe API takes a name, timeout and optional host and path to use when the traefik config is made with labels rather than dynamic config.\n\nHost and path matching is just a prefix match on host or path portion. If both are provided, both will be checked one after the other. If any one has a match, it will be considered.\n\nTo add the labels for this to recognize, use `traefik-container-manager.name` (mandatory), `traefik-container-manager.host` and `traefik-container-manager.path`. The name of `generic-container-manager` is reserved for when the labels are used for configuration, and a fallback of `path` or `host`, which is matched to the HTTP request trying to wake the container (basically traefik's Host rule or the PathPrefix rule on the router), is needed to wake them up. Use this manager container itself to create that middleware.\n\nThe name label can be added to all the containers that need to be stopped along with the service where the middleware is defined on.\n\nHave these labels below as reference:\n\n```yaml\nlabels: \n      - traefik.enable=true\n      - traefik.http.routers.manager.entrypoints=entryhttp\n      - traefik.http.routers.manager.rule=HostRegexp(`{host:.+}`)\n      - traefik.http.routers.manager.priority=1\n      - traefik.http.middlewares.manager.errors.status=404\n      - traefik.http.middlewares.manager.errors.service=manager\n      - traefik.http.middlewares.manager.errors.query=/\n      - traefik.http.routers.manager.middlewares=manager-starter\n      - traefik.http.services.manager.loadbalancer.server.port=80\n      - traefik.http.middlewares.manager-starter.plugin.traefik-container-manager.name=generic-container-manager\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadyanth%2Ftraefik-container-manager-service","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadyanth%2Ftraefik-container-manager-service","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadyanth%2Ftraefik-container-manager-service/lists"}