14 lines
325 B
Bash
Executable File
14 lines
325 B
Bash
Executable File
#! /bin/sh
|
|
|
|
image=git.woozle.org/neale/simpleauth
|
|
[ -f upgrade ] && podman pull $image && rm upgrade
|
|
|
|
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 \
|
|
$image
|