Adding smtp variables and fill bitwarden credential variables
This commit is contained in:
@@ -62,12 +62,19 @@ if [[ "$BITWARDEN" == "yes" ]]; then
|
||||
cp -rv /tmp/bitwarden/bitwarden.json $SERVICE_DIR/bitwarden.json;
|
||||
cp -rv /tmp/bitwarden/domain-bitwarden.json $SERVICE_DIR/domain-bitwarden.json;
|
||||
cp -rv /tmp/bitwarden/firewall-bitwarden.json $SERVICE_DIR/firewall-bitwarden.json;
|
||||
cp -rv /tmp/bitwarden/firewall-bitwarden-server-dns.json $SERVICE_DIR/firewall-bitwarden-server-dns.json;
|
||||
cp -rv /tmp/bitwarden/firewall-bitwarden-server-smtp.json $SERVICE_DIR/firewall-bitwarden-server-smtp.json;
|
||||
cp -rv /tmp/bitwarden/firewall-bitwarden-dns.json $SERVICE_DIR/firewall-bitwarden-dns.json;
|
||||
cp -rv /tmp/bitwarden/firewall-bitwarden-mtp.json $SERVICE_DIR/firewall-bitwarden-smtp.json;
|
||||
fi;
|
||||
|
||||
if [[ "$NEXTCLOUD" == "yes" ] || [ "$BITWARDEN" == "yes" ]]; then
|
||||
echo "SMTP service install has started from ssh://$GIT_REPO/$ORGANIZATION/smtp.git";
|
||||
|
||||
git clone ssh://$GIT_REPO/$ORGANIZATION/smtp.git /tmp/smtp
|
||||
|
||||
cp -rv /tmp/smtp/smtp-secret.json /etc/user/secret/smtp.json;
|
||||
cp -rv /tmp/smtp/smtp.json $SERVICE_DIR/smtp.json;
|
||||
cp -rv /tmp/smtp/firewall-smtp.json $SERVICE_DIR/firewall-smtp.json;
|
||||
|
||||
|
||||
fi;
|
||||
|
||||
|
Reference in New Issue
Block a user