Docker gogs custom home.tmpl


Is it possible to customize the home.tmpl in docker gogs? I’m running gogs:0.11.91 in docker.

I put my custom home.tmpl into the gogs/conf/templates dir, just like it works in non-docker gogs. It seems docker-gogs never picks up the custom tmpl file.


“templates” is not a subdirectory of “conf”, so probably just “templates/home.tmpl”.

Thanks. Obviously correct. The issue appeared to be a need to docker stop then rm then run. docker run gogs to get gogs to see the customized home.tmpl. I previously just tried stop/start of the docker image.