From 3eb3e8a8fe68e6dc6619255be54f074568347c98 Mon Sep 17 00:00:00 2001 From: Xyphuz Date: Sun, 29 May 2022 16:38:13 +0800 Subject: [PATCH 1/2] chore: add Docker instructions in README.md --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index 2970bf5..c70d300 100644 --- a/README.md +++ b/README.md @@ -82,13 +82,25 @@ You need to install [Graphviz](https://graphviz.org/download/) to generate graph See [releases](https://github.com/compose-viz/compose-viz/releases). +#### Docker Image + +See [wst24365888/compose-viz](https://hub.docker.com/r/wst24365888/compose-viz/tags). + ### Example This example yml is from [docker compose beginner tutorial](https://github.com/docker/labs/blob/master/beginner/chapters/votingapp.md). ```bash cd examples/voting-app/ + +# using python script cpv -m svg docker-compose.yml + +# using docker image +docker run --rm -it -v $(pwd):/in wst24365888/compose-viz -m svg docker-compose.yml + +# using docker image in powershell +docker run --rm -it -v ${pwd}:/in wst24365888/compose-viz -m svg docker-compose.yml ``` And this is what the result looks like: From eb4cf4458343119f19ab3fdd43377b8b057c10c9 Mon Sep 17 00:00:00 2001 From: Xyphuz Date: Sun, 29 May 2022 16:38:51 +0800 Subject: [PATCH 2/2] chore: update version number --- compose_viz/__init__.py | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/compose_viz/__init__.py b/compose_viz/__init__.py index 33ab0b0..fb06d58 100644 --- a/compose_viz/__init__.py +++ b/compose_viz/__init__.py @@ -1,2 +1,2 @@ __app_name__ = "compose_viz" -__version__ = "0.2.1" +__version__ = "0.2.2" diff --git a/pyproject.toml b/pyproject.toml index 5f6e009..63fe1f6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "compose-viz" -version = "0.2.1" +version = "0.2.2" description = "A compose file visualization tool that supports compose-spec and allows you to gernerate graph in several formats." authors = ["Xyphuz Wu "] readme = "README.md"