taler-deployment

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

commit 105177923aaeb75b2f9a570424392b4344862b78
parent fb3c9aa79ab3622d9c7369eade6c9d6e72fa390f
Author: ms <ms@taler.net>
Date:   Wed, 11 May 2022 10:09:44 +0200

typescript sandbox

disable login and log custom service to console

Diffstat:
Mtypescript/container/Dockerfile | 8++++++++
Mtypescript/container/prepare.service | 1+
2 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/typescript/container/Dockerfile b/typescript/container/Dockerfile @@ -19,9 +19,17 @@ COPY taler-local . RUN python3 /taler-local bootstrap --without-repos wallet-core RUN python3 /taler-local build +# To debug. Will be removed. RUN echo "root:taler" | chpasswd +# No need to manually login. +RUN systemctl mask console-getty +# RUN systemctl mask systemd-logind + COPY prepare.service /etc/systemd/system RUN chmod 664 /etc/systemd/system/prepare.service + +# prepare.sh creates the database and finally +# calls the configuration interpreter / generator: taler-config.js. COPY prepare.sh . COPY export_path.sh /root/.bashrc RUN chmod +x prepare.sh diff --git a/typescript/container/prepare.service b/typescript/container/prepare.service @@ -3,6 +3,7 @@ Description=PrepareDatabase [Service] ExecStart=/prepare.sh +StandardOutput=journal+console [Install] WantedBy=multi-user.target