anastasis.conf (1773B)
1 # This file is in the public domain. 2 3 # These are default/sample settings for a merchant backend. 4 5 6 # General settings for the backend. 7 [anastasis] 8 9 # Use TCP or UNIX domain sockets? 10 SERVE = tcp 11 12 # Which HTTP port does the backend listen on? Only used if "SERVE" is 'tcp'. 13 PORT = 9977 14 15 # Which IP address should we bind to? i.e. 127.0.0.1 or ::1 for loopback. 16 # Can also be given as a hostname. We will bind to the wildcard (dual-stack) 17 # if left empty. Only used if "SERVE" is 'tcp'. 18 # BIND_TO = 19 20 21 # Which unix domain path should we bind to? Only used if "SERVE" is 'unix'. 22 UNIXPATH = ${ANASTASIS_RUNTIME_DIR}/httpd/anastasis-http.sock 23 # What should be the file access permissions (see chmod) for "UNIXPATH"? 24 UNIXPATH_MODE = 660 25 26 # Which database backend do we use? 27 DB = postgres 28 29 # Display name of the business running this anastasis provider. 30 # BUSINESS_NAME = ... 31 32 # Annual fee for an account 33 # ANNUAL_FEE = TESTKUDOS:0.1 34 35 # Number of policy uploads included in one annual fee payment 36 ANNUAL_POLICY_UPLOAD_LIMIT = 64 37 38 # Insurance 39 # INSURANCE = TESTKUDOS:1.0 40 41 # Fee for one upload. 42 # TRUTH_UPLOAD_FEE = TESTKUDOS:0.1 43 44 45 # Upload limit per backup, in megabytes 46 UPLOAD_LIMIT_MB = 16 47 48 # Fulfillment URL of the ANASTASIS service itself. 49 FULFILLMENT_URL = taler://fulfillment-success 50 51 # Server salt 16 Byte 52 # PROVIDER_SALT = gUfO1KGOKYIFlFQg 53 54 55 # Directory with our terms of service. 56 TERMS_DIR = ${DATADIR}tos/ 57 58 # Etag / filename for the terms of service. 59 TERMS_ETAG = 0 60 61 62 # Directory with our privacy policy. 63 PRIVACY_DIR = ${DATADIR}pp/ 64 65 # Etag / filename for the privacy policy. 66 PRIVACY_ETAG = 0 67 68 69 [anastasis-merchant-backend] 70 # Base URL of our payment backend 71 # PAYMENT_BACKEND_URL = http://localhost:9976/ 72 73 # API Key to send to the backend for authorization 74 # API_KEY =