diff options
author | Florian Dold <florian@dold.me> | 2021-07-29 13:41:49 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2021-07-29 13:41:49 +0200 |
commit | a367347a54338641180083573698b1fb48aced55 (patch) | |
tree | 4e0310ab335b58e68b9711eb3b33fa1c620b8785 /debian/etc/taler/conf.d | |
parent | 036d4cb71ac1abe1990c936ee1f3b2cbf15d14c1 (diff) | |
download | exchange-a367347a54338641180083573698b1fb48aced55.tar.gz exchange-a367347a54338641180083573698b1fb48aced55.tar.bz2 exchange-a367347a54338641180083573698b1fb48aced55.zip |
simplify configuration
Diffstat (limited to 'debian/etc/taler/conf.d')
-rw-r--r-- | debian/etc/taler/conf.d/auditor-system.conf | 12 | ||||
-rw-r--r-- | debian/etc/taler/conf.d/exchange-business.conf | 46 | ||||
-rw-r--r-- | debian/etc/taler/conf.d/exchange-system.conf | 18 |
3 files changed, 76 insertions, 0 deletions
diff --git a/debian/etc/taler/conf.d/auditor-system.conf b/debian/etc/taler/conf.d/auditor-system.conf new file mode 100644 index 000000000..3d3aef33a --- /dev/null +++ b/debian/etc/taler/conf.d/auditor-system.conf @@ -0,0 +1,12 @@ +# Read secret sections into configuration, but only +# if we have permission to do so. +@inline-secret@ auditordb-postgres ../secrets/auditor-db.secret.conf + +[auditor] +# Debian package is configured to use a reverse proxy with a UNIX +# domain socket. See nginx/apache configuration files. +SERVE = UNIX +UNIXPATH = /var/lib/taler-auditor/auditor.sock + +# Only supported database is Postgres right now. +DATABASE = postgres diff --git a/debian/etc/taler/conf.d/exchange-business.conf b/debian/etc/taler/conf.d/exchange-business.conf new file mode 100644 index 000000000..ecd010da1 --- /dev/null +++ b/debian/etc/taler/conf.d/exchange-business.conf @@ -0,0 +1,46 @@ +# Configuration for business-level aspects of the exchange. + +[exchange] + +# Here you MUST add the master public key of the offline system +# which you can get using `taler-exchange-offline setup`. +# This is just an example, your key will be different! +# MASTER_PUBLIC_KEY = YE6Q6TR1EDB7FD0S68TGDZGF1P0GHJD2S0XVV8R2S62MYJ6HJ4ZG +MASTER_PUBLIC_KEY = + +# For your terms of service and privacy policy, you should specify +# an Etag that must be updated whenever there are significant +# changes to either document. The format is up to you, what matters +# is that the value is updated and never re-used. See the HTTP +# specification on Etags. +# TERMS_ETAG = +# PRIVACY_ETAG = + + +# You must specify the various denominations to be offered by your exchange +# in sections called "coin_". +# What follows is an example. + +# [coin_FOO] +## Actual value of the coin +#VALUE = KUDOS:1 + +## How long will one key be used for withdrawals? +#DURATION_WITHDRAW = 7 days + +## How long do users have to spend their coins? +#DURATION_SPEND = 2 years + +## How long does the exchange keep the proofs around for legal disputes? +#DURATION_LEGAL = 6 years + +## Fees charged. Note that for the lowest denomination, the +## fee must precisely be the lowest denomination, or zero. +#FEE_WITHDRAW = KUDOS:0 +#FEE_DEPOSIT = KUDOS:0 +#FEE_REFRESH = KUDOS:0 +#FEE_REFUND = KUDOS:0 + +## How long should the RSA keys be. Do not change unless you really know +## what you are doing (consult your local cryptographer first!). +#RSA_KEYSIZE = 2048 diff --git a/debian/etc/taler/conf.d/exchange-system.conf b/debian/etc/taler/conf.d/exchange-system.conf new file mode 100644 index 000000000..6df381eef --- /dev/null +++ b/debian/etc/taler/conf.d/exchange-system.conf @@ -0,0 +1,18 @@ +# Configuration settings for system parameters of the exchange. + +# Read secret sections into configuration, but only +# if we have permission to do so. +@inline-secret@ exchange-account-1 ../secrets/exchange-accounts.secret.conf +@inline-secret@ exchangedb-postgres ../secrets/exchange-db.secret.conf + +[exchange] +# Debian package is configured to use a reverse proxy with a UNIX +# domain socket. See nginx/apache configuration files. +# +# FIXME: This should be set to something like "NONE" +# since systemd creates the socket for us. +SERVE = UNIX +UNIXPATH = /var/lib/taler-exchange/exchange.sock + +# Only supported database is Postgres right now. +DATABASE = postgres |