compose-to-manifest
Convert Docker Compose project to Azure IoT Edge deployment manifest.
Requirements
- Make sure docker is running on your system before using this tool.
- Python version >=
3.6.0.
Installation
pip3 install compose-to-manifest
Usage
compose-to-manifest [-h] -t [file|project] -i docker_compose_file_path -o output_path [-r your_docker_container_registry_address]
Examples
git clone https://github.com/VSChina/compose-to-manifest
cd compose-to-manifest
In compose-to-manifest folder
- Convert single file
compose-to-manifest -t file \ -i example/flask-redis/docker-compose.yml \ -o example/flask-redis/deployment.template.json
- Convert project
compose-to-manifest -t project \ -i example/flask-redis/docker-compose.yml \ -o example/flask-redis-edge
Release files for compose-to-manifest 0.0.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| compose-to-manifest-0.0.8.tar.gz | 4.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| compose_to_manifest-0.0.8-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.8 kB
Release files / compose-to-manifest-0.0.8.tar.gz
| Download URL | compose-to-manifest-0.0.8.tar.gz |
|---|---|
| Size | 4.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fb5df76506eac70da80ba9d715274fe834a3f8a08266f7eacdad70c244af6486
|
|
BLAKE2b-256 checksum How to use checksums |
f1f3723fa11eace8c22973fe5803a1881aea900f0fa9344451e489cf995080b9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.20.0 setuptools/41.1.0 requests-toolbelt/0.9.1 tqdm/4.34.0 CPython/3.7.3
|
Release files / compose_to_manifest-0.0.8-py3-none-any.whl
| Download URL | compose_to_manifest-0.0.8-py3-none-any.whl |
|---|---|
| Size | 6.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
173036b122975a26e2d703fb37625e17d58127cb23bb1cd2706c44500b6b0b66
|
|
BLAKE2b-256 checksum How to use checksums |
90f91187ad5375213d344adc7309b49ee65df23325eae9bc4d6ec2a6756eb212
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.20.0 setuptools/41.1.0 requests-toolbelt/0.9.1 tqdm/4.34.0 CPython/3.7.3
|