PromucFlow_constructor/deploy/template/encryption.env.sh
Manish 391347224d
adding base-install.sh and boot.sh (#92)
Adding the following files in order to create the AWS AMI 
* boot.sh
* base-install.sh
* configure-ssl.sh file to run to modify app.conf file of nginx and to run init-letsencrypt.sh which generate SSL certificate.

Co-authored-by: Shrikant Sharat Kandula <shrikant@appsmith.com>
Co-authored-by: Arpit Mohan <arpit@appsmith.com>
2020-07-21 16:54:08 +05:30

12 lines
210 B
Bash

#!/bin/sh
if [ ! -f encryption.env ]; then
touch encryption.env
fi
cat >| encryption.env << EOF
APPSMITH_ENCRYPTION_PASSWORD=$user_encryption_password
APPSMITH_ENCRYPTION_SALT=$user_encryption_salt
EOF