14 lines
288 B
Bash
Executable File
14 lines
288 B
Bash
Executable File
#! /bin/sh
|
|
|
|
image=git.woozle.org/neale/portal
|
|
[ -f upgrade ] && podman pull $image && rm upgrade
|
|
|
|
me=$(basename $(pwd))
|
|
podman rm $me
|
|
podman run \
|
|
--name $me \
|
|
--network homelab \
|
|
--volume ./portal.json:/web/portal.json:ro \
|
|
--volume ./deergrove.png:/web/portal.png:ro \
|
|
$image
|