libeufin-nexus.conf.j2 (1463B)
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 [nexus-postgres] 49 CONFIG = postgres:///libeufin 50 51 [nexus-httpd-wire-gateway-api] 52 ENABLED = YES 53 AUTH_METHOD = bearer 54 TOKEN = {{ ansible_local['libeufin-nexus-access-token'] }} 55 56 # FIXME: is this supported by libeufin? 57 @inline-secret@ nexus-ebics libeufin-nexus-ebics.conf