Skip to content

Provides a PlantUML server docker image that uses GraphViz 2.38.0 as a dependency.

License

Notifications You must be signed in to change notification settings

hgross/plantuml-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

plantuml-server-docker

Docker

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.

Configuration options

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

Download and run

docker run -d -p 8080:8080 hgross/plantuml-server

Build and run locally

# build and run locally
docker run -p 8080:8080 -it $(docker build -q .) 

VSCode PlantUML config

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" 
}