stacks/homelab/skeleton/run

14 lines
194 B
Plaintext
Raw Normal View History

2024-11-28 13:34:56 -07:00
#! /bin/sh
exec 2>&1
2024-11-28 13:36:19 -07:00
image=caddy:2-alpine
[ -f upgrade ] && podman pull $image && rm upgrade
2024-11-28 13:34:56 -07:00
me=$(basename $(pwd))
podman rm -f $me
podman run \
--name $me \
--network homelab \
2024-11-28 13:36:19 -07:00
$image