mirror of
https://github.com/octoleo/plantuml-server.git
synced 2025-01-03 05:00:14 +00:00
Added docker-compose file to build plantuml-server with a custom base url.
This commit is contained in:
parent
3c3c64b3d6
commit
e276733481
@ -44,6 +44,15 @@ docker run -d -p 8080:8080 plantuml/plantuml-server:tomcat
|
|||||||
|
|
||||||
The server is now listing to [http://localhost:8080](http://localhost:8080).
|
The server is now listing to [http://localhost:8080](http://localhost:8080).
|
||||||
|
|
||||||
|
To run plantuml using different base url, change the `docker-compose.yml` file:
|
||||||
|
~~~
|
||||||
|
args:
|
||||||
|
BASE_URL: plantuml
|
||||||
|
~~~
|
||||||
|
|
||||||
|
And run `docker-compose up --build`. This will build a modified version of the image using
|
||||||
|
the base url `/plantuml`, e.g. http://localhost/plantuml
|
||||||
|
|
||||||
How to set PlantUML options
|
How to set PlantUML options
|
||||||
=================================
|
=================================
|
||||||
|
|
||||||
|
13
docker-compose.yml
Normal file
13
docker-compose.yml
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
version: '3.3'
|
||||||
|
|
||||||
|
services:
|
||||||
|
plantuml-server:
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
dockerfile: Dockerfile.jetty
|
||||||
|
args:
|
||||||
|
BASE_URL: plantuml
|
||||||
|
image: plantuml/plantuml-server:local
|
||||||
|
container_name: plantuml-server
|
||||||
|
ports:
|
||||||
|
- 8080:8080
|
Loading…
Reference in New Issue
Block a user