Create a discourse cookbook that can be wrapped

It makes it possible to serve multiple Discord instances to different
hosts from a single nginx load balancer

Right now we run one for Kosmos and one for remoteStorage
This commit is contained in:
Greg Karékinian
2022-10-11 17:58:22 +02:00
parent e90b265f7e
commit 378fee85ec
30 changed files with 537 additions and 84 deletions

View File

@@ -0,0 +1,5 @@
# Set it in the wrapper cookbook
# node['discourse']['domain'] = "community.example.com"
# Override it in the wrapper cookbook
node.default['discourse']['role'] = "discourse"
node.default['discourse']['port'] = 3001