stacks/homelab/simpleauth/run

14 lines
325 B
Plaintext
Raw Permalink Normal View History

2023-12-28 10:07:43 -07:00
#! /bin/sh
2024-11-28 13:36:19 -07:00
image=git.woozle.org/neale/simpleauth
[ -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 \
--volume /srv/secrets/passwd:/run/secrets/passwd:ro \
--volume /srv/secrets/simpleauth.key:/run/secrets/simpleauth.key:ro \
2024-11-28 13:36:19 -07:00
$image