commit
6271ef895b
3 changed files with 14 additions and 2 deletions
12
README.md
12
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:
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
__app_name__ = "compose_viz"
|
||||
__version__ = "0.2.1"
|
||||
__version__ = "0.2.2"
|
||||
|
|
|
@ -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 <xyphuzwu@gmail.com>"]
|
||||
readme = "README.md"
|
||||
|
|
Loading…
Reference in a new issue