Add missing configs: traefik middlewares, gollum config.rb, brain nginx.conf
Some checks failed
Deploy Stacks / deploy (push) Failing after 5s

This commit is contained in:
2025-12-31 14:49:06 -05:00
parent d54f1d3def
commit 4b0fcdb39d
3 changed files with 89 additions and 0 deletions

12
stacks/gollum/config.rb Normal file
View File

@@ -0,0 +1,12 @@
module Gollum
Gollum::GIT_ADAPTER = "my"
end
Gollum::Hook.register(:post_commit, :hook_id) do |committer, sha1|
committer.wiki.repo.git.pull('origin', committer.wiki.ref)
committer.wiki.repo.git.push('origin', committer.wiki.ref)
end
wiki_options = {}
Precious::App.set(:wiki_options, wiki_options)