ac7382971d
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
25 lines
668 B
Docker
25 lines
668 B
Docker
FROM photoprism/photoprism:latest as build
|
|
|
|
# Hide TensorFlow warnings
|
|
ENV TF_CPP_MIN_LOG_LEVEL 2
|
|
|
|
RUN wget -qO- https://dl.photoprism.org/fixtures/demo.tar.gz | tar xvz -C Pictures/Import
|
|
|
|
# Configure PhotoPrism
|
|
ENV PHOTOPRISM_DEBUG false
|
|
ENV PHOTOPRISM_READONLY false
|
|
ENV PHOTOPRISM_PUBLIC true
|
|
ENV PHOTOPRISM_EXPERIMENTAL true
|
|
ENV PHOTOPRISM_UPLOAD_NSFW false
|
|
ENV PHOTOPRISM_HIDE_NSFW false
|
|
ENV PHOTOPRISM_THUMB_QUALITY 95
|
|
ENV PHOTOPRISM_THUMB_SIZE 3840
|
|
ENV PHOTOPRISM_THUMB_LIMIT 3840
|
|
ENV PHOTOPRISM_THUMB_ALGORITHM lanczos
|
|
ENV PHOTOPRISM_GEOCODING_API places
|
|
|
|
# Import example photos
|
|
RUN photoprism import
|
|
|
|
# Start PhotoPrism server
|
|
CMD photoprism --public start
|