Add primary domain config for akkounts

This commit is contained in:
Râu Cao 2023-06-21 15:08:14 +02:00
parent 0a25ef6d7a
commit bcbee255f1
Signed by: raucao
GPG Key ID: 15E65F399D084BA9
2 changed files with 2 additions and 0 deletions

View File

@ -2,6 +2,7 @@ node.default['akkounts']['repo'] = 'https://gitea.kosmos.org/kosmos/akkounts.git
node.default['akkounts']['revision'] = 'master'
node.default['akkounts']['port'] = 3000
node.default['akkounts']['domain'] = 'accounts.kosmos.org'
node.default['akkounts']['primary_domain'] = 'kosmos.org'
node.default['akkounts_api']['domain'] = 'api.kosmos.org'

View File

@ -39,6 +39,7 @@ lndhub_host = search(:node, "role:lndhub").first["knife_zero"]["host"] rescue ni
webhooks_allowed_ips = [lndhub_host].compact.uniq.join(',')
env = {
primary_domain: node['akkounts']['primary_domain'],
akkounts_domain: node['akkounts']['domain'],
rails_serve_static_files: true
}