[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-docs] branch master updated: fix Docker instructions
From: |
gnunet |
Subject: |
[taler-docs] branch master updated: fix Docker instructions |
Date: |
Fri, 03 Mar 2023 20:25:02 +0100 |
This is an automated email from the git hooks/post-receive script.
ms pushed a commit to branch master
in repository docs.
The following commit(s) were added to refs/heads/master by this push:
new b6f6554 fix Docker instructions
b6f6554 is described below
commit b6f6554df1c4f50702fc5af43627aede9ea81bc0
Author: MS <ms@taler.net>
AuthorDate: Fri Mar 3 20:24:53 2023 +0100
fix Docker instructions
---
libeufin/local-currencies-tutorial.rst | 20 +++++++++++---------
1 file changed, 11 insertions(+), 9 deletions(-)
diff --git a/libeufin/local-currencies-tutorial.rst
b/libeufin/local-currencies-tutorial.rst
index e10a03e..510c14e 100644
--- a/libeufin/local-currencies-tutorial.rst
+++ b/libeufin/local-currencies-tutorial.rst
@@ -12,7 +12,7 @@ on the :ref:`Circuit API <circuit-api>`. More information
about libEufin can be found in the :doc:`How-To page
</libeufin/nexus-tutorial>`.
The following sections show how to install and launch Sandbox
-either `from sources <install-from-sources_>`_, or `with Docker
<_docker-setup>`_.
+either `from sources <install-from-sources_>`_, or `with Docker
<docker-setup_>`_.
.. _install-from-sources:
@@ -84,30 +84,32 @@ host's port 5000.
.. code-block:: console
- $ docker run -p 5000:5000 -v /libeufin-data:libeufin_data -it nlnet
+ $ docker run -p 5000:5000 -v libeufin_data:/libeufin-data -it nlnet
The previous command uses a default admin password of
'admin' and the NB currency. Do **CHANGE** the admin
password in a production scenario. The following command
-shows how to start the Sandbox with a custom administrator
-password.
+shows how to start the Sandbox with custom administrator
+password and currency (defaults to EUR otherwise).
.. code-block:: console
$ export MY_PASSWORD=secret
- # Add '-e CURRENCY=$MY_CURRENCY' to also set the currency.
- $ docker run -p 5000:5000 -e LIBEUFIN_SANDBOX_ADMIN_PASSWORD=$MY_PASSWORD
+ $ docker run -e LIBEUFIN_SANDBOX_ADMIN_PASSWORD=$MY_PASSWORD -e CURRENCY=NB
-v libeufin_data:/libeufin-data -p 5000:5000 -it nlnet
-This setup stores the database in a Docker *volume*. The
-following command therefore shows how to delete the database
-volume, in order to reset all the data.
+This setup stores the database in a Docker *volume*. The following
+command therefore resets all the data stored by LibEuFin.
.. code-block:: console
$ docker volume rm libeufin_data
+Note: the removal might fail because the exited containers
+are seen as still using the container. Please refer to the Docker
+documentation for further information.
+
.. _after-installation:
If Sandbox is running
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-docs] branch master updated: fix Docker instructions,
gnunet <=