src.nth.io/

summaryrefslogtreecommitdiff
path: root/lnurld/server/templates/config.yaml.j2
diff options
context:
space:
mode:
Diffstat (limited to 'lnurld/server/templates/config.yaml.j2')
-rw-r--r--lnurld/server/templates/config.yaml.j218
1 files changed, 18 insertions, 0 deletions
diff --git a/lnurld/server/templates/config.yaml.j2 b/lnurld/server/templates/config.yaml.j2
new file mode 100644
index 0000000..9377ecd
--- /dev/null
+++ b/lnurld/server/templates/config.yaml.j2
@@ -0,0 +1,18 @@
+listen: {{lnurld_host}}:{{lnurld_port}}
+data-dir: {{lnurld_data_dir}}
+credentials:
+ admin: {{lnurld_admin_pass}}
+lnd:
+ cert-file: {{lnurld_lnd_cert_file}}
+ macaroon-file: {{lnurld_lnd_invoice_macaroon}}
+accounts:
+{% for account in lnurld_accounts %}
+ {{account.name}}:
+ currency: usd
+ description: {{account.desc}}
+ is-also-email: {{account.is_email|default(false)}}
+ comment-allowed: 210
+ min-sendable: 1
+ max-sendable: 1_000_000
+{% else %} []
+{% endfor %}