jjethwa / rundeck

GNU General Public License v3.0
123 stars 137 forks source link

Set brand via env #75

Closed eugeneduvenage closed 7 years ago

eugeneduvenage commented 7 years ago

This pull request allows setting of the Rundeck app header title text by including a new environment variable GUI_BRAND_HTML in the /opt/run script.

Additions to the run script include:

Additions to the README.md include:

Escaping of the HTML depends on how the container is run, from the command line with docker run the HTML will need to be quoted like any other environment variable e.g.

docker run -e GUI_BRAND_HTML='<span class="hello">My Title</span>'

In a docker-compose file it will not necessary.

jjethwa commented 7 years ago

Thanks for the PR @eugeneduvenage 👍