summaryrefslogtreecommitdiff
path: root/docker/exchange
diff options
context:
space:
mode:
Diffstat (limited to 'docker/exchange')
-rw-r--r--docker/exchange/Dockerfile10
1 files changed, 6 insertions, 4 deletions
diff --git a/docker/exchange/Dockerfile b/docker/exchange/Dockerfile
index afd1152..e7f356b 100644
--- a/docker/exchange/Dockerfile
+++ b/docker/exchange/Dockerfile
@@ -14,10 +14,12 @@ RUN ./bootstrap \
RUN mkdir -p $HOME/shared-data/exchange/offline-keys/ \
&& gnunet-ecc -g1 $HOME/shared-data/exchange/offline-keys/master.priv \
+ && taler-config -s exchangedb-postgres -o db_conn_str \
+ -V "dbname=talertest hostname=dbcontainer" \
&& taler-config -s exchange -o serve -V tcp \
- && taler-config -s exchange -o master_public_key -V \
- $(gnunet-ecc -p $HOME/shared-data/exchange/offline-keys/master.priv)
+ && taler-config -s exchange -o master_public_key \
+ -V $(gnunet-ecc -p $HOME/shared-data/exchange/offline-keys/master.priv)
RUN $HOME/deployment/bin/taler-deployment-config-sign \
- && $HOME/deployment/bin/taler-deployment-keyup
-# taler-exchange-dbinit -r # Problematic, no db running..
+ && $HOME/deployment/bin/taler-deployment-keyup \
+ && taler-exchange-dbinit -r