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

@@ -1,5 +0,0 @@
name "discourse"
run_list %w(
kosmos_discourse::default
)

View File

@@ -0,0 +1,6 @@
name "kosmos_discourse"
run_list %w(
kosmos-dirsrv::hostsfile
kosmos_discourse::default
)

View File

@@ -8,6 +8,7 @@ default_run_list = %w(
kosmos_website::default
kosmos-ejabberd::nginx
kosmos-akkounts::nginx_api
remotestorage_discourse::nginx
)
env_run_lists(

View File

@@ -0,0 +1,5 @@
name "remotestorage_discourse"
run_list %w(
remotestorage_discourse::default
)