stacks/homelab/webfs/run

20 lines
375 B
Plaintext
Raw Normal View History

2023-12-28 10:07:43 -07:00
#! /bin/sh
2024-11-28 13:36:19 -07:00
image=sigoden/dufs
[ -f upgrade ] && podman pull $image && rm upgrade
2023-12-28 10:07:43 -07:00
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 \
2024-11-28 13:36:19 -07:00
$image \
2024-11-28 13:34:56 -07:00
--auth @/:rw \
--auth neale@/:rw \
-A \
/srv