libeufin-nexus.conf.j2 (1544B)
1 # This is the main configuration entrypoint for the libeufin-nexus. 2 3 [nexus-postgres] 4 CONFIG = postgres:///libeufin 5 6 [nexus-ebics] 7 8 # Currency used by the bank where Nexus is client. 9 CURRENCY = {{ currency }} 10 11 # Exchange accounts bounce invalid incoming transactions. 12 ACCOUNT_TYPE = exchange 13 14 # IBAN of the bank account that is associated with the EBICS subscriber. 15 IBAN = {{ exchange_bank_account_iban }} 16 17 # BIC of the bank account that is associated with the EBICS subscriber 18 BIC = {{ exchange_bank_account_bic }} 19 20 # Legal entity that is associated with the EBICS subscriber. 21 NAME = {{ exchange_operator_legal_name }} 22 23 # EBICS version and ISO20022 recommendations that 24 # Nexus would honor in the communication with the bank. 25 BANK_DIALECT = {{ libeufin_nexus_bank_dialect }} 26 27 28 [nexus-fetch] 29 # We can keep this rather high, since 30 # for CH, bank transactions are slow. 31 # For DE/GLS, we get SEPA Instant notifications, 32 # so we are not limited by this frequency in the 33 # first place. 34 FREQUENCY = 300s 35 36 {% if deployment_kind == 'tops' %} 37 RESTRICTION_PAYTO_REGEX = payto://iban/CH.* 38 {%endif %} 39 40 [nexus-submit] 41 FREQUENCY = 90s 42 43 [nexus-httpd] 44 SERVE = tcp 45 PORT = {{ libeufin_port }} 46 BIND_TO = 127.0.0.1 47 48 {% if exchange_qr_iban is defined and exchange_qr_iban %} 49 [nexus-ebics] 50 QR_IBAN = {{ exchange_qr_iban }} 51 {% endif %} 52 53 [nexus-httpd-wire-gateway-api] 54 ENABLED = YES 55 AUTH_METHOD = bearer 56 # Actual token is in the secrets file! 57 58 @inline-secret@ nexus-httpd-wire-gateway-api wire-gateway.secret.conf 59 @inline-secret@ nexus-ebics libeufin-nexus-ebics.conf