gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-deployment] branch master updated: readme: data removal


From: gnunet
Subject: [taler-deployment] branch master updated: readme: data removal
Date: Sun, 20 Nov 2022 20:00:04 +0100

This is an automated email from the git hooks/post-receive script.

ms pushed a commit to branch master
in repository deployment.

The following commit(s) were added to refs/heads/master by this push:
     new a06a4a5  readme: data removal
a06a4a5 is described below

commit a06a4a5a6ddd06e2a71283b8c15486312ddd3b3e
Author: MS <ms@taler.net>
AuthorDate: Sun Nov 20 19:59:56 2022 +0100

    readme: data removal
---
 docker/demo/README | 33 +++++++++++++++++++++++----------
 1 file changed, 23 insertions(+), 10 deletions(-)

diff --git a/docker/demo/README b/docker/demo/README
index 2ba2f1f..15f5041 100644
--- a/docker/demo/README
+++ b/docker/demo/README
@@ -8,18 +8,9 @@ This setup orchestrates the following containers:
 3.  Payment service provider (Taler exchange and helpers)
 4.  Database
 
-Note: one stratagem was however needed to make it work.
-The merchant container needs to redirect requests to
-"localhost:$EXCHANGE_PORT_AT_HOST" to the Docker network,
-in order to actually reach the exchange.  That fixes the
-"/pay" handling, since wallets suggest the exchange base URL
-but have a different network view, because they run outside
-of Docker.
-
 FIXME (#7463): the current version requires the user to manually
 point the bank SPA to any backend not being served at bank.demo.taler.net.
 
-
 How to compile
 ==============
 
@@ -116,7 +107,7 @@ for debugging.
 On a daemonized setup, live logs can still be seen by running
 the following command from this directory:
 
-  $ docker-compose logs
+  $ docker-compose logs --tail=$NUM --follow [container-name]
 
 To stop the services, run the following command from this directory:
   $ docker-compose stop
@@ -141,8 +132,30 @@ the previous step into the Docker volumes.  From this 
directory:
 
 If data in the volumes needs to be removed, run from this directory:
 
+
+Data removal
+------------
+
+Data can be classified between Taler (DBs, keys, logs), and Docker specific
+(dangling images, volumes, stopped containers).  Most of Taler data is found
+in 'volumes', and can be removed in the following way:
+
+  # From this directory.
   $ docker-compose down -v
 
+Note: the current version does not store config files into volumes, but in
+services' containers.
+
+Use the following command to remove stopped containers, dangling images
+and build cache, and unused networks.  After its return, the Taler sandbox
+can be run again without rebuilding it.
+
+  $ docker system prune
+
+Disk usage can be monitored by the command:
+
+  $ docker system df
+
 Logs
 ----
 

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]