Fixes and Enhancements (#16)
* Add more instructions after successfully creating a new subdomain. * Update the container name. * Add a just-in-case step. * Add an alias and improve comments. * Fix manage path. * Add limits but no reservations for PP. Start off somewhat relaxed rather than strict. * Always restart PP containers. * Move URL to env file. Do not recommend using HTTPS in the value. * Format comments. * Put commands in shells so they cannot exit the full program. * Updating apps like this did not seem to be working, but also do not want it to work anymore.
This commit is contained in:
@ -12,12 +12,20 @@ if [[ "$DIR" == '.'* ]]; then
|
||||
cd "$RETURN"
|
||||
fi
|
||||
|
||||
## Variables ##
|
||||
|
||||
DOCKER_HOME="$DIR"
|
||||
DOCKER_PATH="$DOCKER_HOME/bin"
|
||||
PATH="$DOCKER_PATH:$PATH"
|
||||
|
||||
export DOCKER_HOME DOCKER_PATH PATH
|
||||
|
||||
## Aliases ##
|
||||
|
||||
alias manage="$DOCKER_HOME/bin/manage.sh"
|
||||
|
||||
## Validations ##
|
||||
|
||||
if [[ -e $DOCKER_HOME/$PROG ]]; then
|
||||
echo "'$DOCKER_HOME/$PROG' has been loaded successfully."
|
||||
else
|
||||
|
Reference in New Issue
Block a user