[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-deployment] branch master updated: nlnet container with SPA
From: |
gnunet |
Subject: |
[taler-deployment] branch master updated: nlnet container with SPA |
Date: |
Mon, 06 Mar 2023 15:16:08 +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 1ab00ed nlnet container with SPA
1ab00ed is described below
commit 1ab00ed0d8fdc2fd4dbf370e41e5478298fdbb48
Author: MS <ms@taler.net>
AuthorDate: Mon Mar 6 15:15:35 2023 +0100
nlnet container with SPA
---
nlnet/task1/Dockerfile | 15 +++++++++++++++
nlnet/task1/start.sh | 5 +++--
2 files changed, 18 insertions(+), 2 deletions(-)
diff --git a/nlnet/task1/Dockerfile b/nlnet/task1/Dockerfile
index 87c7b58..1fa176c 100644
--- a/nlnet/task1/Dockerfile
+++ b/nlnet/task1/Dockerfile
@@ -7,9 +7,24 @@ RUN pip3 install click requests
# Installation
RUN git clone git://git.taler.net/libeufin
WORKDIR /libeufin
+RUN git fetch && git checkout 7e013b1fbdb10a27e65fc4cbc4f77d6d84413962
RUN ./bootstrap
RUN ./configure --prefix=/usr/local
RUN make install
+# Reverse proxy
+RUN apt-get install -y nginx
+
+# Importing the UI
+RUN git clone -b prebuilt git://git.taler.net/wallet-core
+RUN cp /libeufin/debian/etc/nginx/sites-available/libeufin-sandbox
/etc/nginx/sites-enabled/
+RUN mkdir -p /usr/share/libeufin/demobank-ui/
+RUN mkdir -p /etc/libeufin/
+RUN cp /libeufin/debian/usr/share/libeufin/demobank-ui/demobank-ui-settings.js
/etc/libeufin/
+RUN cp wallet-core/demobank/* /usr/share/libeufin/demobank-ui/
+
+# Default place for the database.
+RUN mkdir /libeufin-data
+
COPY start.sh /
ENTRYPOINT /start.sh
diff --git a/nlnet/task1/start.sh b/nlnet/task1/start.sh
index 8980b9b..11ff853 100755
--- a/nlnet/task1/start.sh
+++ b/nlnet/task1/start.sh
@@ -5,5 +5,6 @@ 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
+sed -i "s/localhost/localhost:$LIBEUFIN_EXPOSED_PORT/"
/etc/libeufin/demobank-ui-settings.js
+service nginx start
+libeufin-sandbox serve --port 5016 --no-localhost-only
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-deployment] branch master updated: nlnet container with SPA,
gnunet <=