diff --git a/deploy/install.sh b/deploy/install.sh index 44fc4f1ba5..4eca6edcbb 100755 --- a/deploy/install.sh +++ b/deploy/install.sh @@ -94,11 +94,21 @@ elif [[ $mongo_option -eq 1 ]];then read -sp 'Set the mongo password: ' mongo_root_password fi echo "" -read -p 'Would you like to setup a custom domain to access appsmith? [Y/n]: ' setup_domain +read -p 'Would you like to host appsmith on a custom domain / subdomain? [Y/n]: ' setup_domain setup_domain=${setup_domain:-Y} - if [ $setup_domain == "Y" -o $setup_domain == "y" -o $setup_domain == "yes" -o $setup_domain == "Yes" ];then - read -p 'Enter your domain name (example.com): ' custom_domain + echo "+++++++++++++++++++++++++++++++++" + echo "Please update your DNS records with your domain registrar" + echo "You can read more about this in our Documentation" + echo "https://docs.appsmith.com/v/v1.1/quick-start#custom-domains" + echo "+++++++++++++++++++++++++++++++++" + echo "Would you like to provision an SSL certificate for your custom domain / subdomain?" + read -p '(Your DNS records must be updated for us to provision SSL) [Y/n]: ' setup_ssl + setup_ssl=${setup_ssl:-Y} +fi + +if [ $setup_ssl == "Y" -o $setup_ssl == "y" -o $setup_ssl == "yes" -o $setup_ssl == "Yes" ];then + read -p 'Enter your domain / subdomain name (example.com / app.example.com): ' custom_domain fi NGINX_SSL_CMNT="" @@ -190,3 +200,6 @@ echo "" echo "Your installation is complete. Please run the following command to ensure that all the containers are running without errors" echo " cd $install_dir && sudo docker-compose ps -a" echo -e "Peace out \U1F596" +echo "" +echo "Need help troubleshooting?" +echo "Join our discord server https://discord.com/invite/rBTTVJp" \ No newline at end of file