xetus-oss / docker-archiva

A docker image for Apache Archiva
Apache License 2.0
55 stars 33 forks source link

How to set rest.baseUrl if behind proxy. #28

Closed ahmednawazkhan closed 4 years ago

ahmednawazkhan commented 4 years ago

Hi. I am new to archiva. I just want to set rest.baseUrl in archiva configuration. the only file i saw this option was in /archiva-data/conf/archiva.xml but i have noticed that this file is being recreated each time new container is created. My question is how does the container works. how are these configurations created at runtime. what is jetty.xml and where can I set rest.baseUrl to be a permanent change. Thanks.

tkent commented 4 years ago

👋

Just set the environment variable PROXY_BASE_URL (see here)

ahmednawazkhan commented 4 years ago

Thank you. that did the trick