2024-11-28 13:34:56 -07:00
|
|
|
#! /bin/sh
|
|
|
|
|
|
|
|
exec 2>&1
|
|
|
|
|
2024-11-28 13:36:19 -07:00
|
|
|
image=ghcr.io/ergochat/ergo
|
|
|
|
[ -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 \
|
|
|
|
--publish 6697:6697 \
|
|
|
|
--network homelab \
|
|
|
|
--volume /srv/sys/ircd:/ircd/ \
|
|
|
|
--volume /srv/sys/caddy/certificates/acme-v02.api.letsencrypt.org-directory/irc.woozle.org/:/ircd/certs:ro \
|
2024-11-28 13:36:19 -07:00
|
|
|
$image
|