lnurld/server/templates/config.yaml.j2
author Luke Hoersten <luke@hoersten.org>
Sun, 23 Jul 2023 14:28:28 -0500
changeset 220 16226c249f6f
parent 218 1db4800bc4f5
permissions -rw-r--r--
Minor fixes.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
218
1db4800bc4f5 Got lnurld running.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     1
listen: {{lnurld_host}}:{{lnurld_port}}
1db4800bc4f5 Got lnurld running.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     2
data-dir: {{lnurld_data_dir}}
1db4800bc4f5 Got lnurld running.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     3
credentials:
1db4800bc4f5 Got lnurld running.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     4
  admin: {{lnurld_admin_pass}}
1db4800bc4f5 Got lnurld running.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     5
lnd:
1db4800bc4f5 Got lnurld running.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     6
  cert-file: {{lnurld_lnd_cert_file}}
1db4800bc4f5 Got lnurld running.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     7
  macaroon-file: {{lnurld_lnd_invoice_macaroon}}
1db4800bc4f5 Got lnurld running.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     8
accounts:
1db4800bc4f5 Got lnurld running.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     9
{% for account in lnurld_accounts %}
1db4800bc4f5 Got lnurld running.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    10
  {{account.name}}:
1db4800bc4f5 Got lnurld running.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    11
    currency: usd
1db4800bc4f5 Got lnurld running.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    12
    description: {{account.desc}}
1db4800bc4f5 Got lnurld running.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    13
    is-also-email: {{account.is_email|default(false)}}
1db4800bc4f5 Got lnurld running.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    14
    comment-allowed: 210
1db4800bc4f5 Got lnurld running.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    15
    min-sendable: 1
1db4800bc4f5 Got lnurld running.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    16
    max-sendable: 1_000_000
1db4800bc4f5 Got lnurld running.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    17
{% else %}  []
1db4800bc4f5 Got lnurld running.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    18
{% endfor %}