From 3c217b2de10ba0273bdb49bc3704c3314a72353c Mon Sep 17 00:00:00 2001 From: Jackie Weng Date: Thu, 13 May 2021 09:26:32 +1200 Subject: [PATCH] Update README with read-only container instruction --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index 8a0fafc..ecec56b 100644 --- a/README.md +++ b/README.md @@ -45,6 +45,17 @@ docker run -d -p 8080:8080 plantuml/plantuml-server:tomcat The server is now listing to [http://localhost:8080](http://localhost:8080). +## Read-only container + +The jetty container supports read-only files system, you can run the read-only mode with: +``` +docker run -d -p 8080:8080 --read-only -v /tmp/jetty plantuml/plantuml-server:jetty-readonly +``` + +This makes the container compatible with more restricted environment such as OpenShift, just make sure you mount a volume (can be ephemeral) on `/tmp/jetty`. + +## Change base URL + To run plantuml using different base url, change the `docker-compose.yml` file: ~~~ args: