PHPackages                             ipunkt/rancherize-drain - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. ipunkt/rancherize-drain

ActiveProject[Utility &amp; Helpers](/categories/utility)

ipunkt/rancherize-drain
=======================

Add drain.timeout to set drain\_timeout\_ms in rancher-compose.yml

1.0.0(6y ago)146MITPHP

Since Oct 16Pushed 6y ago3 watchersCompare

[ Source](https://github.com/ipunkt/rancherize-drain)[ Packagist](https://packagist.org/packages/ipunkt/rancherize-drain)[ RSS](/packages/ipunkt-rancherize-drain/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

rancherize-drain
================

[](#rancherize-drain)

Sets drain\_timeout\_ms in the rancher-compose.yml of a service

install
-------

[](#install)

In your project using rancherize execute

```
vendor/bin/rancherize plugin:install ipunkt/rancherize-drain:1.0.0

```

If you're using the docker container then call the following to activate the plugin for a project

```
vendor/bin/rancherize plugin:register ipunkt/rancherize-drain

```

Use
---

[](#use)

Full configuration:

```
{
	"drain": {
		"enable": false,
		"timeout": "30s"
	}
}
```

- Having the `drain` object in your configuration will activate the plugin
- timeout will default to 30s if active but no timeout is given
    - The following suffixes can be used:
        - none: seconds
        - `s`: seconds
        - `m`: minutes
- enable defaults to TRUE and thus should only be actively set for environments where you want to disable the plugin

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2398d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2f1ab6ff16fc96d20efd363563c961db68587721536c6559d692f461588a1246?d=identicon)[svensp](/maintainers/svensp)

### Embed Badge

![Health badge](/badges/ipunkt-rancherize-drain/health.svg)

```
[![Health](https://phpackages.com/badges/ipunkt-rancherize-drain/health.svg)](https://phpackages.com/packages/ipunkt-rancherize-drain)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
