anastasis.conf (2182B)
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 # How long after they expire are backups, truths and challenge codes kept 30 # before "anastasis-dbinit -g" collects them? Keeping them longer than 31 # necessary means keeping user data longer than necessary. 32 # GC_BACKUP_GRACE = 6 months 33 34 # How long are payment records that never resulted in a payment (or that were 35 # refunded) kept before "anastasis-dbinit -g" collects them? 36 # GC_PAYMENT_RETENTION = 10 years 37 38 # Display name of the business running this anastasis provider. 39 # BUSINESS_NAME = ... 40 41 # Annual fee for an account 42 # ANNUAL_FEE = TESTKUDOS:0.1 43 44 # Number of policy uploads included in one annual fee payment 45 ANNUAL_POLICY_UPLOAD_LIMIT = 64 46 47 # Insurance 48 # INSURANCE = TESTKUDOS:1.0 49 50 # Fee for one upload. 51 # TRUTH_UPLOAD_FEE = TESTKUDOS:0.1 52 53 54 # Upload limit per backup, in megabytes 55 UPLOAD_LIMIT_MB = 16 56 57 # Fulfillment URL of the ANASTASIS service itself. 58 FULFILLMENT_URL = taler://fulfillment-success 59 60 # Server salt 16 Byte 61 # PROVIDER_SALT = gUfO1KGOKYIFlFQg 62 63 64 # Directory with our terms of service. 65 TERMS_DIR = ${DATADIR}tos/ 66 67 # Etag / filename for the terms of service. 68 TERMS_ETAG = 0 69 70 71 # Directory with our privacy policy. 72 PRIVACY_DIR = ${DATADIR}pp/ 73 74 # Etag / filename for the privacy policy. 75 PRIVACY_ETAG = 0 76 77 78 [anastasis-merchant-backend] 79 # Base URL of our payment backend 80 # PAYMENT_BACKEND_URL = http://localhost:9976/ 81 82 # API Key to send to the backend for authorization 83 # API_KEY =