14 lines
308 B
Plaintext
14 lines
308 B
Plaintext
|
#! /bin/sh
|
||
|
me=$(basename $(pwd))
|
||
|
podman rm $me
|
||
|
podman run \
|
||
|
--name $me \
|
||
|
--network homelab \
|
||
|
--publish 80:80 \
|
||
|
--publish 443:443 \
|
||
|
--volume /srv:/srv:ro \
|
||
|
--volume /srv/sys/caddy:/data/caddy \
|
||
|
--volume ./Caddyfile:/etc/caddy/Caddyfile:ro \
|
||
|
--add-host host.lan:192.168.86.2 \
|
||
|
caddy:2-alpine
|