stacks/homelab/webfs/run

20 lines
375 B
Bash
Executable File

#! /bin/sh
image=sigoden/dufs
[ -f upgrade ] && podman pull $image && rm upgrade
me=$(basename $(pwd))
podman rm $me
podman run \
--name $me \
--network homelab \
--user 911:911 \
--volume /srv/storage:/srv/storage \
--volume /srv/incoming:/srv/incoming \
--volume /srv/media:/srv/media \
$image \
--auth @/:rw \
--auth neale@/:rw \
-A \
/srv