sameersbn / docker-redmine

Docker Image for Redmine
http://www.damagehead.com/docker-redmine/
MIT License
1.25k stars 491 forks source link

How to make custom log changes persistent #527

Closed Mcicool closed 7 months ago

Mcicool commented 7 months ago

Hello. I am quite new to this. Is it possible to make persistent changes made accrding to this article: https://www.redmine.org/projects/redmine/wiki/HowTo_add_a_logo_to_your_Redmine_banner

I wanna make a custom logo.

jcormier commented 7 months ago

Hmm, this isn't explicitly supported.

What I would recommend is to make the changes you want to the file and generate a .patch file. Then you can apply the patch using the plugins post-install.sh script so that each time the container is started the changes get applied.

/srv/docker/redmine/redmine/plugins/post-install.sh

Alternatively, you could create your own Dockerfile which uses this one as a base and copies your modified base.html.erb file into place.

Mcicool commented 7 months ago

Thanks for reply! Will try