summaryrefslogtreecommitdiff
path: root/docker/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'docker/README.md')
-rw-r--r--docker/README.md24
1 files changed, 6 insertions, 18 deletions
diff --git a/docker/README.md b/docker/README.md
index de76b23..985517b 100644
--- a/docker/README.md
+++ b/docker/README.md
@@ -3,38 +3,26 @@
This is meant as instructions for humans to run the different LibEuFin components
and examples from the documentation locally in Docker containers.
-This could become the bassis for an integration test style `docker-compose` setup.
-
-## Build Docker images
+## Build LibEuFin base image
```
-docker-compose build
+docker-compose -f compose.libeufin.yml build
```
+
## Scenario 1: Sandbox & CLI
In this scenario, the sandbox version is started fully self contained with its own
internal database to respond to interactions via the commandline interface even without
an EBICS compatible bank account.
-Start the sandbox image with
```
-docker run -d --name libeufin-sandbox -p 5000:5000 libeufin-sandbox:dev
+docker-compose -f compose.libeufin.yml -f compose.sandbox.yml build
+docker-compose -f compose.libeufin.yml -f compose.sandbox.yml up --abort-on-container-exit libeufin-sandbox-cli
```
-Start the base image for access to the CLI
-```
-docker run -it libeufin:dev /bin/bash
-```
-
-And run the command as specified in the
-[documentation](https://docs.taler.net/libeufin/nexus-tutorial.html#optional-configuring-the-sandbox)
-(use the IP of the docker sandbox image i.e. the docker network adapter)
-```
-export LIBEUFIN_SANDBOX_URL=http://172.17.0.1:5000/
-libeufin-cli sandbox check
-```
+This should exit with a success and at least print a version response from the sandbox.
## [WIP] Scenario 2: Nexus