summaryrefslogtreecommitdiff
path: root/src/backend/anastasis.conf
blob: 8d2f0f6b16a043473b6c107f6cfb457db612453c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
# This file is in the public domain.

# These are default/sample settings for a merchant backend.


# General settings for the backend.
[anastasis]

# Use TCP or UNIX domain sockets?
SERVE = tcp

# Which HTTP port does the backend listen on?  Only used if "SERVE" is 'tcp'.
PORT = 9977

# Which IP address should we bind to? i.e. 127.0.0.1 or ::1 for loopback.
# Can also be given as a hostname.  We will bind to the wildcard (dual-stack)
# if left empty.  Only used if "SERVE" is 'tcp'.
# BIND_TO =


# Which unix domain path should we bind to? Only used if "SERVE" is 'unix'.
UNIXPATH = ${ANASTASIS_RUNTIME_DIR}/httpd/anastasis-http.sock
# What should be the file access permissions (see chmod) for "UNIXPATH"?
UNIXPATH_MODE = 660

# Which database backend do we use?
DB = postgres

# Display name of the business running this anastasis provider.
# BUSINESS_NAME = ...

# Annual fee for an account
# ANNUAL_FEE = TESTKUDOS:0.1

# Number of policy uploads included in one annual fee payment
ANNUAL_POLICY_UPLOAD_LIMIT = 64

# Insurance
# INSURANCE = TESTKUDOS:1.0

# Fee for one upload.
# TRUTH_UPLOAD_FEE = TESTKUDOS:0.1


# Upload limit per backup, in megabytes
UPLOAD_LIMIT_MB = 16

# Fulfillment URL of the ANASTASIS service itself.
FULFILLMENT_URL = taler://fulfillment-success

# Server salt 16 Byte
# SERVER_SALT = gUfO1KGOKYIFlFQg


# Directory with our terms of service.
TERMS_DIR = $DATADIR/tos/

# Etag / filename for the terms of service.
TERMS_ETAG = 0


# Directory with our privacy policy.
PRIVACY_DIR = $DATADIR/pp/

# Etag / filename for the privacy policy.
PRIVACY_ETAG = 0


[anastasis-merchant-backend]
# Base URL of our payment backend
# PAYMENT_BACKEND_URL = http://localhost:9976/

# API Key to send to the backend for authorization
# API_KEY =