This repository serves as an example to setup a docker oauth2-proxy, redis, and IdP environment using a simple Hello World python flask service.
- Add this line to your hosts file:
127.0.0.1 idp.localhost
- Make sure you have Docker Desktop installed or have docker compose available in your cli.
- Open the command-line and make sure your working directory is the same as the root of this repository.
- Run this command:
docker compose up --detach
- Navigate in your browser to:
http://localhost/
- You will be prompted to login from
http://idp.localhost
. Any username or password is accepted. - Hello World! should display in your browser.