Initial Taler stack with templated configs, db init script, caddy proxy

This commit is contained in:
nocci 2025-12-11 12:22:48 +00:00
commit d0b0722a7b
16 changed files with 723 additions and 0 deletions

33
Dockerfile Normal file
View file

@ -0,0 +1,33 @@
FROM debian:sid
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y \
build-essential git automake libtool pkg-config \
libgnutls28-dev libjansson-dev libsqlite3-dev \
postgresql-client curl gnupg gettext-base \
openjdk-17-jdk maven \
&& rm -rf /var/lib/apt/lists/*
# GNUnet (falls nicht schon systemweit neu genug)
RUN git clone https://git.taler.net/gnunet.git /src/gnunet && \
cd /src/gnunet && ./bootstrap && \
./configure --prefix=/usr && make -j$(nproc) && make install
# Taler Exchange + Merchant
RUN git clone https://git.taler.net/exchange.git /src/exchange && \
cd /src/exchange && ./bootstrap && \
./configure --prefix=/usr && make -j$(nproc) && make install && \
git clone https://git.taler.net/merchant.git /src/merchant && \
cd /src/merchant && ./bootstrap && \
./configure --prefix=/usr && make -j$(nproc) && make install
# LibEuFin (Bank)
RUN git clone https://git.taler.net/libeufin.git /src/libeufin && \
cd /src/libeufin && ./bootstrap && \
./configure --prefix=/usr && make -j$(nproc) && make install
# Shared entrypoint for dbinit + service start
COPY entrypoints/with-dbinit.sh /usr/local/bin/with-dbinit.sh
COPY scripts/enable-exchange-account.sh /usr/local/bin/enable-exchange-account.sh
RUN chmod +x /usr/local/bin/with-dbinit.sh /usr/local/bin/enable-exchange-account.sh