cyclos.conf (2074B)
1 [cyclos] 2 # Adapter currency 3 CURRENCY = 4 5 # Cyclos root url with an optional specific network 6 CYCLOS_URL = 7 8 # Account ID of the Cyclos account to sync 9 ACCOUNT_ID = 10 11 # Legal entity that is associated with the Cyclos account 12 NAME = 13 14 [cyclos-worker] 15 # How often should worker run when no notification is received 16 FREQUENCY = 30m 17 18 # Account username 19 USERNAME = 20 21 # Account password 22 PASSWORD = 23 24 # Specify the account type and therefore the indexing behavior. 25 # This can either can be normal or exchange. 26 # Exchange accounts bounce invalid incoming Taler transactions. 27 ACCOUNT_TYPE = exchange 28 29 # Cyclos account type ID to index 30 ACCOUNT_TYPE_ID = 31 32 # Cyclos payment type ID to use for transfers 33 PAYMENT_TYPE_ID = 34 35 [cyclos-httpd] 36 # How "taler-cyclos serve" serves its API, this can either be tcp or unix 37 SERVE = tcp 38 39 # Port on which the HTTP server listens, e.g. 9967. Only used if SERVE is tcp. 40 PORT = 8080 41 42 # Which IP address should we bind to? E.g. ``127.0.0.1`` or ``::1``for loopback. Only used if SERVE is tcp. 43 BIND_TO = 0.0.0.0 44 45 # Which unix domain path should we bind to? Only used if SERVE is unix. 46 # UNIXPATH = taler-cyclos.sock 47 48 # What should be the file access permissions for UNIXPATH? Only used if SERVE is unix. 49 # UNIXPATH_MODE = 660 50 51 [cyclos-httpd-wire-gateway-api] 52 # Whether to serve the Wire Gateway API 53 ENABLED = NO 54 55 # Authentication scheme, this can either can be basic, bearer or none. 56 AUTH_METHOD = bearer 57 58 # User name for basic authentication scheme 59 # USERNAME = 60 61 # Password for basic authentication scheme 62 # PASSWORD = 63 64 # Token for bearer authentication scheme 65 TOKEN = 66 67 [cyclos-httpd-revenue-api] 68 # Whether to serve the Revenue API 69 ENABLED = NO 70 71 # Authentication scheme, this can either can be basic, bearer or none. 72 AUTH_METHOD = bearer 73 74 # User name for basic authentication scheme 75 # USERNAME = 76 77 # Password for basic authentication scheme 78 # PASSWORD = 79 80 # Token for bearer authentication scheme 81 TOKEN = 82 83 [cyclosdb-postgres] 84 # DB connection string 85 CONFIG = postgres:///taler-cyclos 86 87 # Where are the SQL files to setup our tables? 88 SQL_DIR = ${DATADIR}/sql/