Added messages to explain the config variables.
This commit is contained in:
@@ -160,6 +160,7 @@ update_config() {
|
|||||||
print_header "Update configs."
|
print_header "Update configs."
|
||||||
|
|
||||||
echo "Key: API_PORT, Current value: \`$API_PORT\`"
|
echo "Key: API_PORT, Current value: \`$API_PORT\`"
|
||||||
|
echo "This is the internal port on your server's localhost network, where the Middleware will be listening to."
|
||||||
read -p " > Enter new value (leave empty to pass): " NEW_API_PORT
|
read -p " > Enter new value (leave empty to pass): " NEW_API_PORT
|
||||||
echo
|
echo
|
||||||
if [[ $NEW_API_PORT == "" ]]; then
|
if [[ $NEW_API_PORT == "" ]]; then
|
||||||
@@ -167,6 +168,7 @@ update_config() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Key: CONTAINER_NAME, Current value: \`$CONTAINER_NAME\`"
|
echo "Key: CONTAINER_NAME, Current value: \`$CONTAINER_NAME\`"
|
||||||
|
echo "This is the name of the Docker Container we will create for this middleware."
|
||||||
read -p " > Enter new value (leave empty to pass): " NEW_CONTAINER_NAME
|
read -p " > Enter new value (leave empty to pass): " NEW_CONTAINER_NAME
|
||||||
echo
|
echo
|
||||||
if [[ $NEW_CONTAINER_NAME == "" ]]; then
|
if [[ $NEW_CONTAINER_NAME == "" ]]; then
|
||||||
@@ -174,6 +176,9 @@ update_config() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Key: HAS_LOCAL_DBS, Current value: \`$HAS_LOCAL_DBS\`"
|
echo "Key: HAS_LOCAL_DBS, Current value: \`$HAS_LOCAL_DBS\`"
|
||||||
|
echo "This will change the type of the network of the docker container, between a bridge or a host network."
|
||||||
|
echo "Enter [0] If your database is on this server"
|
||||||
|
echo "Enter [1] if your database is on another server"
|
||||||
read -p " > Enter new value (leave empty to pass): " NEW_HAS_LOCAL_DBS
|
read -p " > Enter new value (leave empty to pass): " NEW_HAS_LOCAL_DBS
|
||||||
echo
|
echo
|
||||||
if [[ $NEW_HAS_LOCAL_DBS == "" ]]; then
|
if [[ $NEW_HAS_LOCAL_DBS == "" ]]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user