48 lines
1.3 KiB
Cheetah
48 lines
1.3 KiB
Cheetah
[libeufin-bank]
|
|
# Internal currency of the libeufin-bank
|
|
CURRENCY = DEMOGELD
|
|
|
|
# Supported payment target type, choose x-taler-bank for this stack
|
|
WIRE_TYPE = x-taler-bank
|
|
|
|
# Base URL as seen by clients; adjust via BANK_BASE_URL
|
|
BASE_URL = ${BANK_BASE_URL:-https://${BANK_HOST:-ob.antifa.ltd}/}
|
|
|
|
# Display name
|
|
NAME = "Demogeld Taler Bank"
|
|
|
|
# Fees and limits for demo operation
|
|
WIRE_TRANSFER_FEES = DEMOGELD:0
|
|
MIN_WIRE_TRANSFER_AMOUNT = DEMOGELD:0
|
|
MAX_WIRE_TRANSFER_AMOUNT = DEMOGELD:200
|
|
DEFAULT_DEBT_LIMIT = DEMOGELD:200
|
|
REGISTRATION_BONUS = DEMOGELD:50
|
|
|
|
# Self-service options
|
|
ALLOW_REGISTRATION = yes
|
|
ALLOW_ACCOUNT_DELETION = no
|
|
ALLOW_EDIT_NAME = yes
|
|
|
|
# Serving parameters
|
|
SERVE = tcp
|
|
PORT = 8080
|
|
BIND_TO = 0.0.0.0
|
|
|
|
# Suggested exchange for withdrawals
|
|
SUGGESTED_WITHDRAWAL_EXCHANGE = ${EXCHANGE_BASE_URL:-https://${EXCHANGE_HOST:-exchange.antifa.ltd}/}
|
|
|
|
# Password hashing
|
|
PWD_HASH_ALGORITHM = bcrypt
|
|
PWD_HASH_CONFIG = { "cost": 8 }
|
|
PWD_CHECK = yes
|
|
PWD_AUTH_COMPAT = no
|
|
|
|
# GC settings
|
|
GC_ABORT_AFTER = 15m
|
|
GC_CLEAN_AFTER = 14d
|
|
GC_DELETE_AFTER = 10year
|
|
|
|
[libeufin-bankdb-postgres]
|
|
# JDBC URL to the Postgres instance from compose. Keep in sync with postgres/init SQL and compose env.
|
|
CONFIG = jdbc:postgresql://postgres:5432/libeufinbank?user=libeufinbank&password=taler&ssl=false&connectTimeout=5
|
|
sql_dir = /usr/share/libeufin
|