Pushing changes for testing harness before my next meeting. Adding working exec library and sample code

Signed-off-by: Kris Nóva <kris@nivenly.com>
This commit is contained in:
Kris Nóva 2021-02-03 11:00:11 -08:00
parent 95794522e0
commit b107d98a37
14 changed files with 313 additions and 19 deletions

21
sample-app/pcreate Executable file
View file

@ -0,0 +1,21 @@
#!/bin/bash
####################################
#####
###
##
#
#
# Startup Script for the Application
####################################
set -e
echo "Starting [SampleApp]"
docker run -d \
--name photoprism \
-p 8080:2342 \
-e PHOTOPRISM_UPLOAD_NSFW="true" \
-e PHOTOPRISM_ADMIN_PASSWORD="missy" \
-v photoprism:/photoprism \
photoprism/photoprism:latest