{"id":22908828,"url":"https://github.com/ipunkt/rancherize-drain","last_synced_at":"2025-04-01T09:53:09.299Z","repository":{"id":56993263,"uuid":"214811540","full_name":"ipunkt/rancherize-drain","owner":"ipunkt","description":"Publish via traefiks rancher provider but with an intermediate rancher loadbalancer sl drain_timeout_ms takes effect","archived":false,"fork":false,"pushed_at":"2019-10-16T13:55:27.000Z","size":28,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-07T05:27:36.472Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ipunkt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-10-13T11:54:28.000Z","updated_at":"2023-12-06T07:48:42.000Z","dependencies_parsed_at":"2022-08-21T13:20:32.148Z","dependency_job_id":null,"html_url":"https://github.com/ipunkt/rancherize-drain","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ipunkt%2Francherize-drain","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ipunkt%2Francherize-drain/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ipunkt%2Francherize-drain/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ipunkt%2Francherize-drain/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ipunkt","download_url":"https://codeload.github.com/ipunkt/rancherize-drain/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246620237,"owners_count":20806721,"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-12-14T03:32:28.745Z","updated_at":"2025-04-01T09:53:09.283Z","avatar_url":"https://github.com/ipunkt.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rancherize-drain\nSets drain_timeout_ms in the rancher-compose.yml of a service\n\n## install\nIn your project using rancherize execute\n\n\tvendor/bin/rancherize plugin:install ipunkt/rancherize-drain:1.0.0\n\nIf you're using the docker container then call the following to activate the plugin for a project\n\n\tvendor/bin/rancherize plugin:register ipunkt/rancherize-drain\n\n## Use\nFull configuration:\n```json\n{\n\t\"drain\": {\n\t\t\"enable\": false,\n\t\t\"timeout\": \"30s\"\n\t}\n}\n```\n\n- Having the `drain` object in your configuration will activate the plugin\n- timeout will default to 30s if active but no timeout is given\n  - The following suffixes can be used:\n    - none: seconds\n    - `s`: seconds\n    - `m`: minutes\n- enable defaults to TRUE and thus should only be actively set for environments where you want to disable the plugin\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fipunkt%2Francherize-drain","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fipunkt%2Francherize-drain","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fipunkt%2Francherize-drain/lists"}