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:
@ -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
|
||||
|
Reference in New Issue
Block a user