stacks/homelab/photos/run.photoprism

17 lines
472 B
Plaintext
Raw Normal View History

2024-11-28 13:34:56 -07:00
#! /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