* Trying to move horizontal rules into separate function * Delete install_dir if exists already, after confirmation * Add confirm function to take user conformations * Resolve warnings on read command without -r option * Use temporary directory for downloaded templates * Fix inverted calls to confirm * nginx template doesn't use global variables now * docker compose template doesn't depend on global vars now * Fix port checking for CentOS * Fix encryption.env to not use global variables * Fix mongo-init to not use global variables * Fix docker.env file to not use any global variables * Fix letsencrypt script to not use any global variables * Set mongo_database in the docker-compose file Spotted this after global variables were reduced. The `mongo_database` was not being used anywhere. * Move password generation into a function * Attempt to add watchtower * Fix port checking in install script for CentOS * Don't offer to delete install dir if it already exists * Remove vagrant source for templates (it's a dev-time thing only)
12 lines
202 B
Bash
12 lines
202 B
Bash
#!/bin/bash
|
|
|
|
set -o nounset
|
|
|
|
user_encryption_password="$1"
|
|
user_encryption_salt="$2"
|
|
|
|
cat <<EOF
|
|
APPSMITH_ENCRYPTION_PASSWORD=$user_encryption_password
|
|
APPSMITH_ENCRYPTION_SALT=$user_encryption_salt
|
|
EOF
|