PromucFlow_constructor/deploy/template/encryption.env.sh
Arpit Mohan 1060423b99
Modifying deploy script to replace nginx configuration at runtime (#106)
* Getting the script to work on Mac OS X Bash Version 3

* Correcting the nginx template configuration and Dockerfile for the appsmith-editor. Now any replaced environment variables will be replaced when the Nginx Docker container restarts.
2020-07-16 11:47:45 +05:30

11 lines
208 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