Add PhotoPrism (#15)

* Add initial configuration for PhotoPrism. Has not been tested yet, but options have been analyzed and tweaked.

* Begin testing. Fixes. Running pretty well, seems neat! Need to figure out user management other than admin.

* Add output to source so that we know it worked.

* Modify comments to explain a use free-to-win use case.

* Go ahead and give the full path on the success path.
This commit is contained in:
2023-09-15 10:01:25 -07:00
committed by GitHub
parent f56b3da23d
commit eb79978adf
3 changed files with 204 additions and 0 deletions

View File

@ -4,6 +4,7 @@
# source /PATH_TO_PROJECT/source.env
DIR="$(dirname -- "${BASH_SOURCE[0]}")"
PROG="$(basename -- "${BASH_SOURCE[0]}")"
if [[ "$DIR" == '.'* ]]; then
RETURN="`pwd`"
cd $DIR
@ -16,3 +17,11 @@ DOCKER_PATH="$DOCKER_HOME/bin"
PATH="$DOCKER_PATH:$PATH"
export DOCKER_HOME DOCKER_PATH PATH
if [[ -e $DOCKER_HOME/$PROG ]]; then
echo "'$DOCKER_HOME/$PROG' has been loaded successfully."
else
echo "ERROR: Something has gone wrong, could not find '$PROG' from absolute "
echo "path, Docker Home '$DOCKER_HOME' is likely wrong."
exit 1
fi