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:
@@ -1,5 +0,0 @@
|
||||
name "discourse"
|
||||
|
||||
run_list %w(
|
||||
kosmos_discourse::default
|
||||
)
|
||||
6
roles/kosmos_discourse.rb
Normal file
6
roles/kosmos_discourse.rb
Normal file
@@ -0,0 +1,6 @@
|
||||
name "kosmos_discourse"
|
||||
|
||||
run_list %w(
|
||||
kosmos-dirsrv::hostsfile
|
||||
kosmos_discourse::default
|
||||
)
|
||||
@@ -8,6 +8,7 @@ default_run_list = %w(
|
||||
kosmos_website::default
|
||||
kosmos-ejabberd::nginx
|
||||
kosmos-akkounts::nginx_api
|
||||
remotestorage_discourse::nginx
|
||||
)
|
||||
|
||||
env_run_lists(
|
||||
|
||||
5
roles/remotestorage_discourse.rb
Normal file
5
roles/remotestorage_discourse.rb
Normal file
@@ -0,0 +1,5 @@
|
||||
name "remotestorage_discourse"
|
||||
|
||||
run_list %w(
|
||||
remotestorage_discourse::default
|
||||
)
|
||||
Reference in New Issue
Block a user