stacks/homelab/skeleton/run

14 lines
194 B
Bash
Executable File

#! /bin/sh
exec 2>&1
image=caddy:2-alpine
[ -f upgrade ] && podman pull $image && rm upgrade
me=$(basename $(pwd))
podman rm -f $me
podman run \
--name $me \
--network homelab \
$image