معرفی شرکت ها


compose-paas-1.0.3


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

Deploy to multiple container platforms/PAAS using docker-compose files
ویژگی مقدار
سیستم عامل -
نام فایل compose-paas-1.0.3
نام compose-paas
نسخه کتابخانه 1.0.3
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Bidhan Adhikary
ایمیل نویسنده bidhan619@gmail.com
آدرس صفحه اصلی https://github.com/bidhan-a/compose-paas
آدرس اینترنتی https://pypi.org/project/compose-paas/
مجوز BSD license
============ compose-paas ============ .. image:: https://img.shields.io/pypi/v/compose-paas.svg :target: https://pypi.python.org/pypi/compose-paas .. image:: https://img.shields.io/travis/bidhan-a/compose-paas.svg :target: https://travis-ci.org/bidhan-a/compose-paas .. image:: https://pyup.io/repos/github/bidhan-a/compose-paas/shield.svg :target: https://pyup.io/repos/github/bidhan-a/compose-paas/ :alt: Updates Deploy to multiple container platforms/PAAS using docker-compose files Installation ------------ **compose-paas** is available on PyPI. You can use pip to install it ``$ pip install compose-paas`` Usage ----- Once you have it installed, you can use it from the command line ``$ compose-paas -c docker-compose.yml -s api -o docker-compose.dev.yml -f true -p singularity`` compose-paas supports five arguments: - ``-c`` or ``--config`` : The name of the base compose file - ``-s`` or ``--service`` : The name of the service to be deployed - ``-o`` or ``--override``: The name of the compose file which overrides the base file - ``-f`` or ``--forcepull``: Flag to enforce image pull (overrides the configuration in the compose file) - ``-p`` or ``--platform``: Platform to deploy to (currently, only singularity and marathon are supported) **Note**: You would use ``docker-compose`` with the above mentioned files as given below: ``docker-compose -f docker-compose.yml -f docker-compose.dev.yml up`` Options ------- ``compose-paas`` uses the ``x-compose-paas`` extension field in the docker-compose file to read platform-specific as well as other general options. The following example contains all the supported options: .. code-block:: python x-compose-paas: resources: cpus: '0.1' memory: '1024' singularity: admin_email: 'admin@mail.com' endpoint: 'http://prd.net/singularity/api' slave_placement: '' cron_schedule: '' marathon: endpoint: 'http://prd.net/marathon/v2' fetch: uri: 'file:///etc/docker.tar.gz' resource_roles: - '*' id: '/service/name' docker: params: entrypoint: 'run_web_api.sh' ulimit: 'nofile=10240:10240' forcepull: 'false' References ---------- - SingularityDeployRequest_ - `Marathon Configuration Reference`_ .. _SingularityDeployRequest: https://github.com/HubSpot/Singularity/blob/master/Docs/reference/api.md#model-SingularityDeployRequest .. _Marathon Configuration Reference: https://docs.mesosphere.com/1.11/deploying-services/marathon-parameters/ ======= History ======= 0.1.0 (2018-02-22) ------------------ * First release on PyPI. 0.1.1 (2018-02-23) ------------------ * Include resources in labels 0.1.2 (2018-02-26) ------------------ * Change labels format 0.1.3 (2018-03-08) ------------------ * Add flag to enforce image pull 0.1.4 (2018-04-17) ------------------ * Use different fields for command and arguments 1.0.1 (2018-04-27) ------------------ * Rename package to compose-paas from singularity-compose * Add support for Marathon 1.0.2 (2018-04-27) ------------------ * Fix setup.py (add sub-package to packages list) 1.0.3 (2018-05-14) ------------------ * Add support for volumes mode


نیازمندی

مقدار نام
- PyYAML
- requests
- six


نحوه نصب


نصب پکیج whl compose-paas-1.0.3:

    pip install compose-paas-1.0.3.whl


نصب پکیج tar.gz compose-paas-1.0.3:

    pip install compose-paas-1.0.3.tar.gz