How to setup proxy in the docker file for PlantUML-server running on docker

0 votes
asked Oct 16, 2024 in Question / help by XX

Hi,

I am trying to host the plantuml-server on my company's machine. which is behind proxy, 

I pull the latest docker image from docker hub "docker pull plantuml/plantuml-server:latest"

I have had couple attempts to make the plantuml-server work with proxy, so it can download the icons from github. but have not had any luck, it keeps saying "Cannot open URL" 

!include https://raw.githubusercontent.com/awslabs/aws-icons-for-plantuml/refs/heads/main/dist/AWSCommon.puml

so the logs from docker container shows timeout. 

so please anyone can share a docker file or the docker run command with proxy settings

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.
...