Skip to content

Commit

Permalink
Update README with read-only container instruction
Browse files Browse the repository at this point in the history
  • Loading branch information
jemerald authored and arnaudroques committed May 12, 2021
1 parent f08db46 commit 3c217b2
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 3c217b2

Please sign in to comment.