added config lines to Inbucket and bugjes opgelost in deployment scripts
This commit is contained in:
parent
201af045c9
commit
8cfa7d2b3d
3 changed files with 14 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue