* 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.
11 lines
208 B
Bash
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 |