Metadata-Version: 2.0
Name: compose-to-rancher
Version: 0.1.0a4
Summary: Convert Docker Compose V2 to Rancher compatible Docker Compose V1
Home-page: https://github.com/tiangolo/compose-to-rancher
Author: Sebastian Ramirez
Author-email: tiangolo@gmail.com
License: MIT
Keywords: setuptools development docker rancher compose
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Code Generators
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Requires-Dist: pyyaml

Compose to Rancher
==================

Convert Docker Compose V2 `docker-compose.yml` to a Rancher compatible Docker Compose V1 file, by default in `docker-compose-v1.yml`.

----

* Install:

.. code-block:: bash

  pip install compose-to-rancher

* You would have a command:

.. code-block:: bash

  compose-to-rancher

* You just have to run that command in a directory with a Docker Compose V2 file `docker-compose.yml` and it will generate a Rancher compatible Docker Compose V1 file `docker-compose-v1.yml`

* If you want to customize the you can see the command help:

.. code-block::

  $ compose-to-rancher --help

  usage: compose-to-rancher [-h] [-f FILE] [-o OUTPUT]

  Convert a docker-compose.yml file version 2 to a docker-compose-v1.yml version
  1, compatible with Rancher

  optional arguments:
    -h, --help            show this help message and exit
    -f FILE, --file FILE  the input docker-compose.yml file in version 2
                          (default: docker-compose.yml)
    -o OUTPUT, --output OUTPUT
                          the output to write a docker-compose.yml version 1
                          compatible with Rancher (default: docker-
                          compose-v1.yml)


.. ::


