allow docker plantuml server to use !include url

0 votes
asked Jul 26, 2023 in Question / help by iowadeifan

I am using the docker version of plantuml server and trying to set the docker-compose environment vars to support include from external url.   I can't seem to make it work.

Sample:

@startuml

!include https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/master/C4_Container.puml

...

@enduml

I am getting the can't open url error in the output.

What do i have to add to docker-compose.yml to allow for this?  I have tried the following with no success.  

version: '3.3'

services:

plantuml-server:

build:

context: .

dockerfile: Dockerfile.jetty

image: plantuml/plantuml-server:jetty-local

container_name: plantuml-server

ports:

- 8888:8080

environment:

- BASE_URL=plantuml

- PLANTUML_SECURITY_PROFILE=UNSECURE

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:

[Antispam2 Feature: please please wait 1 or 2 minutes (this message will disappear) before pressing the button otherwise it will fail](--------)
To avoid this verification in future, please log in or register.
...