taler-deployment

Deployment scripts and configuration files
Log | Files | Refs | README

commit 34ec79cb93d2b3ce17aa2be3b258be1a643b0e1b
parent f39449ac59bf240a66daf41f7814dc969011adbb
Author: MS <ms@taler.net>
Date:   Thu,  2 Mar 2023 20:07:57 +0100

nlnet Dockerfile

Diffstat:
Anlnet/task1/Dockerfile | 15+++++++++++++++
Anlnet/task1/start.sh | 9+++++++++
2 files changed, 24 insertions(+), 0 deletions(-)

diff --git a/nlnet/task1/Dockerfile b/nlnet/task1/Dockerfile @@ -0,0 +1,15 @@ +FROM debian:stable + +RUN apt-get update +RUN apt-get install -y openjdk-17-jre git python3-pip curl jq +RUN pip3 install click requests + +# Installation +RUN git clone git://git.taler.net/libeufin +WORKDIR /libeufin +RUN ./bootstrap +RUN ./configure --prefix=/usr/local +RUN make install + +COPY start.sh / +ENTRYPOINT /start.sh diff --git a/nlnet/task1/start.sh b/nlnet/task1/start.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +set -eu + +export LIBEUFIN_SANDBOX_ADMIN_PASSWORD=${LIBEUFIN_SANDBOX_ADMIN_PASSWORD:-admin} +export LIBEUFIN_SANDBOX_DB_CONNECTION="jdbc:sqlite:/libeufin-data/libeufin.sqlite" +libeufin-sandbox config --without-registrations --currency ${CURRENCY:-EUR} default + +libeufin-sandbox serve --no-localhost-only