added config lines to Inbucket and bugjes opgelost in deployment scripts

This commit is contained in:
Niels Kunis 2025-02-16 15:15:56 +01:00
parent 201af045c9
commit 8cfa7d2b3d
3 changed files with 14 additions and 2 deletions

View file

@ -23,7 +23,7 @@ done
first_server="${SERVERS%% *}"
previous_manifest=$(
envsubst <<EOF | ssh -T "root@$first_server"
envsubst <<EOF | ssh -T "root@$first_server.dmz"
if [[ -f "$GCROOTDIR/$NAME.yml" ]]; then
cat "$GCROOTDIR/$NAME.yml"
fi

View file

@ -21,7 +21,14 @@
containers.inbucket = {
image = globals.images.inbucket;
env = {
INBUCKET_MAILBOXNAMING.value = "full";
INBUCKET_SMTP_DEFAULTACCEPT.value = "false";
INBUCKET_SMTP_ACCEPTDOMAINS.value = "kunis.nl,kun.is";
INBUCKET_SMTP_DEFAULTSTORE.value = "false";
INBUCKET_SMTP_STOREDOMAINS.value = "kunis.nl,kun.is";
INBUCKET_STORAGE_RETENTIONPERIOD.value = "168h";
};
ports = {
web.containerPort = 9000;
smtp.containerPort = 2500;

View file

@ -13,6 +13,11 @@ if [ -z "$username" ] || [ -z "$host" ]
exit 1
fi
if [ ! -d "$output_path" ]; then
echo "Output directory $output_path does not exist!"
exit 1
fi
# Create a temporary directory
temp=$(mktemp -d)