stacks/homelab/photos/run.pigallery2

13 lines
392 B
Bash
Executable File

#! /bin/sh
me=$(basename $(pwd))
podman rm -f $me
podman run \
--name $me \
--network homelab \
--volume /srv/sys/pigallery2/config:/app/data/config \
--volume /srv/sys/pigallery2/db:/app/data/db \
--volume /srv/sys/pigallery2/cache:/app/data/cache \
--volume /srv/storage/fam/Photos:/photos/fam:ro \
--volume /home/ginnie/Photos:/photos/ginnie:ro \
bpatrik/pigallery2:latest