stacks/homelab/photos/run.photoprism

17 lines
472 B
Bash
Executable File

#! /bin/sh
podman rm -f photos
podman run \
--name=photos \
--network=homelab \
--cpu-shares=256 \
--env PHOTOPRISM_SITE_URL=https://photos.woozle.org/ \
--env PHOTOPRISM_AUTH_MODE=public \
--env PHOTOPRISM_READONLY=true \
--env PHOTOPRISM_HTTP_PORT=8080 \
-v /srv/sys/photoprism/:/photoprism/storage \
-v /srv/storage/fam/Photos:/photoprism/originals/fam \
-v /srv/storage/ginnie/Photos:/photoprism/originals/ginnie \
photoprism/photoprism:latest