Sign inSign up

webhostingcoopteam/oauth2_proxy

By webhostingcoopteam

•Updated about 9 years ago

Oauth2 proxy

Image
1

8.2K

webhostingcoopteam/oauth2_proxy repository overview

⁠oauth2_proxy Dockerfile

This repository contains Dockerfile of oauth2_proxy⁠ for Docker⁠.

⁠Base Docker Image
⁠Installation
  1. Install Docker⁠.

  2. Download build⁠ from public Docker Hub Registry⁠: docker pull crate/oauth2_proxy

    (alternatively, you can build an image from Dockerfile: docker build -t="crate/oauth2_proxy" github.com/crate/docker-oauth2_proxy)

⁠Usage
create a file <config-dir>/oauth2_proxy.cfg for configuration

docker run -d -p 4180:4180 -v <config-dir>:/conf crate/oauth2_proxy
⁠ENV vars

the oauth_proxy will be called with a few arguments UPSTREAM, the provider, and whatever you want to put in OAUTH2_PROXY_ARGS

i.e.

oauth2_proxy -upstream $UPSTREAM -provider $PROVIDER -email-domain=$EMAIL_DOMAIN $OATH2_PROXY_ARGS"

Tag summary

Content type

Image

Digest

Size

186.1 MB

Last updated

about 9 years ago

docker pull webhostingcoopteam/oauth2_proxy