Provides a PlantUML server docker image that uses GraphViz 2.38.0 as a dependency. Made to circumvent issues with PlantUML and newer versions of GraphViz. There is https://github.com/plantuml/plantuml-server but as of 2020-10-29 they also suffer from the known issues. This image downloads the plantuml-server release from github and deploys it into a jetty-runner.
ENV variable | Description | Default | valid values |
---|---|---|---|
PLANTUML_LIMIT_SIZE | The size limit (pixels) for plant uml diagrams (PlantUML configuration) | 16384 | see PlantUML docs |
JAVA_MIN_HEAP_SIZE | The java Xms setting to control initial heap size of the plantuml server process | 64M | check this link |
JAVA_MAX_HEAP_SIZE | The java Xmx setting to control max heap size of the plantuml server process | 4G | check this link |
docker run -d -p 8080:8080 hgross/plantuml-server
# build and run locally
docker run -p 8080:8080 -it $(docker build -q .)
Install the PlantUML VSCode Extension. Add the follwing to your user visual studio code user settings json.
{
"plantuml.server": "http://127.0.0.1:8080",
"plantuml.render": "PlantUMLServer"
}