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" \
|
|
|
|
-v ${GOPATH}/src/github.com/kris-nova/client-go/sample-app/photoprism/import:/photoprism/import \
|
|
|
|
-v ${GOPATH}/src/github.com/kris-nova/client-go/sample-app/photoprism/originals:/photoprism/originals \
|
|
|
|
-v ${GOPATH}/src/github.com/kris-nova/client-go/sample-app/photoprism/storage:/photoprism/storage \
|
|
|
|
photoprism/photoprism:latest
|
|
|
|
|
2021-02-04 02:01:38 +01:00
|
|
|
|