gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [taler-deployment] branch master updated: README Dockerizat


From: gnunet
Subject: [GNUnet-SVN] [taler-deployment] branch master updated: README Dockerization
Date: Wed, 04 Jan 2017 20:45:57 +0100

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

marcello pushed a commit to branch master
in repository deployment.

The following commit(s) were added to refs/heads/master by this push:
     new 70d044f  README Dockerization
70d044f is described below

commit 70d044fc48179106c3067c59b5fee007fc0e03f6
Author: Marcello Stanisci <address@hidden>
AuthorDate: Wed Jan 4 20:45:49 2017 +0100

    README Dockerization
---
 docker/README | 43 +++++++++++++++++++++++++++++++++++--------
 1 file changed, 35 insertions(+), 8 deletions(-)

diff --git a/docker/README b/docker/README
index be13d58..a3e303b 100644
--- a/docker/README
+++ b/docker/README
@@ -1,17 +1,44 @@
-=== The Compose way ==
+=== The Compose way ===
 
-This way of building things is the preferred one:
-just running,
+This section shows how to run a "dockerized" exchange.
+The exchange uses postgresql (container) and is served
+by nginx (container).
+
+The docker's tools needed are: docker, docker-compose, docker-machine.
+Please refer to Docker's official documentation for their installation
+instructions.
+
+1. Build the images.
+
+From <THIS_REPO/docker>, give:
+
+$ docker-compose build
+
+This command builds the 'base' image and pulls down the postgresql
+and nginx images.
+
+2. Launch the service.
+
+The following command launches the exchange and all other services
+it depends on.
 
 $ docker-compose up
 
-from <THIS_REPO/docker>, should build all the images.
+If everything worked as expected, you should see some live logging
+from all the containers, on the console.
+
+PS. Errors about existing roles/dataabases can be ignored.
+
+3. Test
+
+Issue the following command to see if the exchange has been correctly
+installed and launched.
+
+$ curl http://`docker-machine ip`:80/
 
-Only the base image and the exchange are currently supposed
-to be built this way.
+and
 
-Ideally, a compose recipe for the exchange and one for merchant
-backend should be made available.
+$ curl http://`docker-machine ip`:80/keys
 
 === How to use these images ===
 

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

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