python-holdup:等待服务并执行命令的工具。 在Docker容器中有用

时间:2021-05-01 02:06:35
【文件属性】:
文件名称:python-holdup:等待服务并执行命令的工具。 在Docker容器中有用
文件大小:29KB
文件格式:ZIP
更新时间:2021-05-01 02:06:35
python docker http tcp healthcheck 概述 docs 测试 包裹 等待服务并执行命令的工具。 对于依赖于缓慢启动服务的Docker容器(几乎像所有东西)很有用。 免费软件:BSD 2条款许可 安装 目前,内容仅发布到PyPI和 。 要从PyPI安装: pip install holdup 除了可选的PostgreSQL检查支持外,它没有依赖项,您可以通过以下方式安装该支持: pip install 'holdup[pg]' 您还可以通过以下方式安装开发中版本: pip install https://github.com/ionelmc/python-holdup/archive/master.zip 备用安装(Docker映像) 例子: docker run --rm ionelmc/holdup tcp://foobar:1234 请注意,这会有一些限制: 执行command是毫无意义的,因为保持操作
【文件预览】:
python-holdup-master
----setup.py(3KB)
----.gitignore(666B)
----Dockerfile(456B)
----.readthedocs.yml(231B)
----src()
--------holdup()
----.dockerignore(22B)
----.travis.yml(1KB)
----MANIFEST.in(415B)
----.pre-commit-config.yaml(554B)
----.bumpversion.cfg(512B)
----LICENSE(1KB)
----setup.cfg(817B)
----README.rst(5KB)
----tests()
--------Dockerfile(2KB)
--------conftest.py(233B)
--------test_pg.py(650B)
--------docker-compose.yml(299B)
--------test_pg.sh(483B)
--------test_holdup.py(10KB)
----ci()
--------templates()
--------requirements.txt(62B)
--------bootstrap.py(3KB)
----.coveragerc(174B)
----AUTHORS.rst(162B)
----.cookiecutterrc(2KB)
----CONTRIBUTING.rst(3KB)
----CHANGELOG.rst(2KB)
----docs()
--------requirements.txt(41B)
--------spelling_wordlist.txt(109B)
--------index.rst(200B)
--------conf.py(1KB)
--------authors.rst(28B)
--------changelog.rst(30B)
--------readme.rst(27B)
--------contributing.rst(33B)
----.editorconfig(353B)
----tox.ini(2KB)

网友评论