stacks/homelab/auth/run

14 lines
269 B
Bash
Executable File

#! /bin/sh
exec 2>&1
me=$(basename $(pwd))
podman rm -f $me
podman run \
--name $me \
--network homelab \
--name auth \
--volume /srv/secrets/oauth2-proxy.cfg:/etc/oauth2-proxy.cfg:ro \
quay.io/oauth2-proxy/oauth2-proxy \
--config=/etc/oauth2-proxy.cfg