@@ -0,0 +1,19 @@
1+# This docker-compose file can be used to bring up an example instance of oauth2-proxy
2+# for manual testing and exploration of features.
3+# Alongside OAuth2-Proxy, this file also starts Dex to act as the identity provider,
4+# etcd for storage for Dex and HTTPBin as an example upstream.
5+# This file also uses alpha configuration when configuring OAuth2 Proxy.
6+#
7+# This file is an extension of the main compose file and must be used with it
8+# docker-compose -f docker-compose.yaml -f docker-compose-alpha-config.yaml <command>
9+# Alternatively:
10+# make alpha-config-<command> (eg make nginx-up, make nginx-down)
11+#
12+# Access http://localhost:4180 to initiate a login cycle
13+version: '3.0'
14+services:
15+ oauth2-proxy:
16+ command: --config /oauth2-proxy.cfg --alpha-config /oauth2-proxy-alpha-config.yaml
17+ volumes:
18+ - "./oauth2-proxy-alpha-config.cfg:/oauth2-proxy.cfg"
19+ - "./oauth2-proxy-alpha-config.yaml:/oauth2-proxy-alpha-config.yaml"