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:
2023-10-17 04:35:57 -07:00
committed by GitHub
parent eb79978adf
commit f45cc326fc
6 changed files with 47 additions and 10 deletions

View File

@ -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