INNER CODE UNIT · Shell

DOCKER_NETWORK_NAME

evertramos/nginx-proxy-automation · bin/fresh-start.sh:1074

DOCKER_NETWORK_NAME=${STRING_REMOVE_ALL_SPECIAL_CHAR_STRING_RESPONSE:-null}
[[ $DOCKER_NETWORK_NAME == null ]] && echoerror "The network name can not contain special chars, neither be empty"

#-----------------------------------------------------------------------
# Data location for nginx-proxy files
#
# Parameters: -d | --data-files-location
#
# Final result:
#   - DATA_LOCATION
#-----------------------------------------------------------------------
LOCAL_DEFAULT_DATA_LOCATION=${DEFAULT_DATA_LOCATION:-"$SCRIPT_PATH/../data"}
if [[ $ARG_DATA_LOCATION == "" ]] && [[ ! "$REPLY_YES" == true ]]; then

  # Get user's response
  run_function common_read_user_input "Please enter the path location where you wish to place your nginx-proxy files (default: $LOCAL_DEFAULT_DATA_LOCATION):"

  DATA_LOCATION=${USER_INPUT_RESPONSE:-$LOCAL_DEFAULT_DATA_LOCATION}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…