bank.conf (3785B)
1 [libeufin-bank] 2 3 # Internal currency of the libeufin-bank 4 CURRENCY = 5 6 # Supported payment target type, this can either be iban or x-taler-bank 7 WIRE_TYPE = 8 9 # The bank base URL 10 # BASE_URL = https://bank.example.com/ 11 12 # Bank BIC used in generated iban payto URI. Required if WIRE_TYPE = iban 13 # IBAN_PAYTO_BIC = 14 15 # Bank hostname used in generated x-taler-bank payto URI. Required if WIRE_TYPE = x-taler-bank 16 # Deprecated, BASE_URL hostname is used instead 17 # X_TALER_BANK_PAYTO_HOSTNAME = bank.$FOO.taler.net 18 19 # Bank display name, used in webui and TAN messages. Default is "Taler Bank" 20 # NAME = "Custom Bank" 21 22 # Wire transfer execution fees. Only applies to bank transactions and withdrawals. 23 # WIRE_TRANSFER_FEES = KUDOS:0 24 25 # Minimum wire transfer amount allowed. Only applies to bank transactions and withdrawals. 26 # MIN_WIRE_TRANSFER_AMOUNT = KUDOS:0 27 28 # Maximum wire transfer amount allowed. Only applies to bank transactions and withdrawals. 29 # MAX_WIRE_TRANSFER_AMOUNT = KUDOS:0 30 31 # Default debt limit for newly created accounts. Default is CURRENCY:0 32 # DEFAULT_DEBT_LIMIT = KUDOS:200 33 34 # Value of the registration bonus for new users. Default is CURRENCY:0 35 # REGISTRATION_BONUS = KUDOS:100 36 37 # Allow account registration by anyone. 38 # ALLOW_REGISTRATION = no 39 40 # Allow an account to delete itself 41 # ALLOW_ACCOUNT_DELETION = no 42 43 # Allow accounts to edit their name 44 # ALLOW_EDIT_NAME = no 45 46 # Allow accounts to edit their cashout account 47 # ALLOW_EDIT_CASHOUT_PAYTO_URI = no 48 49 # Enable regional currency conversion 50 # ALLOW_CONVERSION = no 51 52 # External currency used during cashin and cashout 53 # FIAT_CURRENCY = EUR 54 55 # Path to TAN challenge transmission script via sms. If not specified, this TAN channel will not be supported. 56 # TAN_SMS = libeufin-tan-sms.sh 57 58 # Path to TAN challenge transmission script via email. If not specified, this TAN channel will not be supported. 59 # TAN_EMAIL = libeufin-tan-email.sh 60 61 # Environment variables for the sms TAN script as a single-line JSON object 62 # TAN_SMS_ENV = { "AUTH_TOKEN": "secret-token" } 63 64 # Environment variables for the email TAN script as a single-line JSON object 65 # TAN_EMAIL_ENV = { "AUTH_TOKEN": "secret-token" } 66 67 # How "libeufin-bank serve" serves its API, this can either be tcp or unix 68 SERVE = tcp 69 70 # Port on which the HTTP server listens, e.g. 9967. Only used if SERVE is tcp. 71 PORT = 8080 72 73 # Which IP address should we bind to? E.g. ``127.0.0.1`` or ``::1``for loopback. Can also be given as a hostname. Only used if SERVE is tcp. 74 BIND_TO = 0.0.0.0 75 76 # Which unix domain path should we bind to? Only used if SERVE is unix. 77 # UNIXPATH = libeufin-bank.sock 78 79 # Path to spa files 80 SPA = $DATADIR/spa/ 81 82 # Exchange that is suggested to wallets when withdrawing. 83 # SUGGESTED_WITHDRAWAL_EXCHANGE = https://exchange.demo.taler.net/ 84 85 # Password hash algorithm, this can only be bcrypt 86 PWD_HASH_ALGORITHM = bcrypt 87 88 # Password hash algorithm configuration as a single-line JSON object 89 # When PWD_HASH_ALGORITHM = bcrypt you can configure cost 90 PWD_HASH_CONFIG = { "cost": 8 } 91 92 # Whether to check password quality 93 # Unstable flag, will become a non configurable default in a future version 94 PWD_CHECK = yes 95 96 # Whether to allow password auth everywhere 97 # Unstable flag, will become a non configurable default in a future version 98 PWD_AUTH_COMPAT = no 99 100 # Time after which pending operations are aborted during garbage collection 101 GC_ABORT_AFTER = 15m 102 103 # Time after which aborted operations and expired items are deleted during garbage collection 104 GC_CLEAN_AFTER = 14d 105 106 # Time after which all bank transactions, operations and deleted accounts are deleted during garbage collection 107 GC_DELETE_AFTER = 10year 108 109 [libeufin-bankdb-postgres] 110 # Where are the SQL files to setup our tables? 111 SQL_DIR = $DATADIR/sql/ 112 113 # DB connection string 114 CONFIG = postgres:///libeufin