Configure akkounts domain

This commit is contained in:
Râu Cao 2023-04-04 09:32:40 +02:00
parent a44fa31951
commit 2dd4d572a6
Signed by: raucao
GPG Key ID: 15E65F399D084BA9

View File

@ -37,11 +37,13 @@ postgres_readonly_host = search(:node, "role:postgresql_replica").first["knife_z
btcpay_host = search(:node, "role:btcpay").first["knife_zero"]["host"] rescue nil
lndhub_host = search(:node, "role:lndhub").first["knife_zero"]["host"] rescue nil
webhooks_allowed_ips = [lndhub_host].compact.uniq.join(',')
env = {}
env[:rails_serve_static_files] = "true"
env = {
akkounts_domain: node['akkounts']['domain'],
rails_serve_static_files: true
}
smtp_server, smtp_port = smtp_credentials[:relayhost].split(":")
smtp_server, smtp_port = smtp_credentials[:relayhost].split(":")
env[:smtp] = {
server: smtp_server,
port: smtp_port,