2021-02-04 02:01:38 +01:00
|
|
|
|
2021-02-03 20:00:11 +01:00
|
|
|
#!/bin/bash
|
|
|
|
####################################
|
|
|
|
#####
|
|
|
|
###
|
|
|
|
##
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# Startup Script for the Application
|
|
|
|
####################################
|
2021-02-03 23:00:31 +01:00
|
|
|
echo "Creating [SampleApp]"
|
2021-02-04 02:01:38 +01:00
|
|
|
|
2021-02-04 02:03:05 +01:00
|
|
|
# TODO Nova
|
|
|
|
# TODO Per edude03ontwitch we want to actually mount /photoprism/whatever
|
2021-02-04 04:19:19 +01:00
|
|
|
docker run -d \
|
|
|
|
--name photoprism \
|
|
|
|
-p 8080:2342 \
|
|
|
|
-e PHOTOPRISM_UPLOAD_NSFW="true" \
|
|
|
|
-e PHOTOPRISM_ADMIN_PASSWORD="missy" \
|
2021-02-12 05:14:42 +01:00
|
|
|
-v ${GOPATH}/src/github.com/kris-nova/photoprism-client-go/sample-app/photoprism/import:/photoprism/import \
|
|
|
|
-v ${GOPATH}/src/github.com/kris-nova/photoprism-client-go/sample-app/photoprism/originals:/photoprism/originals \
|
|
|
|
-v ${GOPATH}/src/github.com/kris-nova/photoprism-client-go/sample-app/photoprism/storage:/photoprism/storage \
|
2021-02-04 04:19:19 +01:00
|
|
|
photoprism/photoprism:latest
|
|
|
|
|
2021-02-04 02:01:38 +01:00
|
|
|
|