taler-deployment

Deployment scripts and configuration files
Log | Files | Refs | README

commit af716ef23968ff9ea94053f15132573e21bcc979
parent 78a8db1270e7f1e4fa446371260a6c9fd5cb5910
Author: Christian Grothoff <christian@grothoff.org>
Date:   Sat,  4 Mar 2023 17:48:28 +0100

also do merchant setup

Diffstat:
Mnetzbon/setup-exchange.sh | 9+++++++--
1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/netzbon/setup-exchange.sh b/netzbon/setup-exchange.sh @@ -12,6 +12,7 @@ source config/internal.conf # - NEXUS_EXCHANGE_PASSWORD (exchange password for libeufin-nexus) # - EXCHANGE_IBAN (exchange account IBAN) # - EXCHANGE_PAYTO (exchange account PAYTO) +# - ENABLE_TLS (http or https?) if test -z ${LIBEUFIN_NEXUS_USERNAME:-} then @@ -69,6 +70,11 @@ echo -e "[taler]\n"\ "MASTER_PRIV_FILE=${MASTER_PUBLIC_KEY}\n"\ "BASE_URL=${EXCHANGE_BASE_URL}\n"\ "\n"\ + "[merchant-exchange-${DOMAIN_NAME}]\n"\ + "MASTER_KEY=${MASTER_PUBLIC_KEY}\n"\ + "CURRENCY=${CURRENCY}\n"\ + "EXCHANGE_BASE_URL=${EXCHANGE_BASE_URL}\n"\ + "\n"\ "[exchange-account-default]\n"\ "PAYTO_URI=${EXCHANGE_PAYTO}\n"\ "ENABLE_DEBIT=YES\n"\ @@ -81,7 +87,7 @@ echo -e "[exchange-accountcredentials-default]\n"\ "WIRE_GATEWAY_AUTH_METHOD=basic\n"\ "USERNAME=${LIBEUFIN_NEXUS_USERNAME}\n"\ "PASSWORD=${NEXUS_EXCHANGE_PASSWORD}\n"\ - >> /etc/taler/secrets/exchange-accountcredentials-default.secret.conf + > /etc/taler/secrets/exchange-accountcredentials-default.secret.conf taler-harness deployment gen-coin-config \ --min-amount ${CURRENCY}:0.01 \ @@ -120,4 +126,3 @@ curl --max-time 2 \ --retry 10 \ ${EXCHANGE_BASE_URL}/keys &> /dev/null echo "DONE" -t