podman-services/oauth2-proxy-dev.sh

11 lines
296 B
Bash
Executable File

#!/bin/bash
podman run \
--rm \
-it \
--hostname oauth.theribbles.org \
--name oauth \
--net slirp4netns:port_handler=slirp4netns \
-p 10031:4180 \
-v /etc/oauth2-proxy.cfg:/etc/oauth2-proxy.cfg \
quay.io/oauth2-proxy/oauth2-proxy:v7.1.2 --config=/etc/oauth2-proxy.cfg --set-xauthrequest