21 lines
		
	
	
		
			1002 B
		
	
	
	
		
			YAML
		
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			1002 B
		
	
	
	
		
			YAML
		
	
	
	
# This docker-compose file can be used to bring up an example instance of oauth2-proxy
 | 
						|
# for manual testing and exploration of features.
 | 
						|
# Alongside OAuth2-Proxy, this file also starts Dex to act as the identity provider,
 | 
						|
# etcd for storage for Dex  and HTTPBin as an example upstream.
 | 
						|
# This file also uses alpha configuration when configuring OAuth2 Proxy.
 | 
						|
#
 | 
						|
# This file is an extension of the main compose file and must be used with it
 | 
						|
#    docker-compose -f docker-compose.yaml -f docker-compose-alpha-config.yaml <command>
 | 
						|
# Alternatively:
 | 
						|
#    make alpha-config-<command> (eg make nginx-up, make nginx-down)
 | 
						|
#
 | 
						|
# Access http://localhost:4180 to initiate a login cycle
 | 
						|
version: '3.0'
 | 
						|
services:
 | 
						|
  oauth2-proxy:
 | 
						|
    image: quay.io/oauth2-proxy/oauth2-proxy:v7.12.0
 | 
						|
    command: --config /oauth2-proxy.cfg --alpha-config /oauth2-proxy-alpha-config.yaml
 | 
						|
    volumes:
 | 
						|
      - "./oauth2-proxy-alpha-config.cfg:/oauth2-proxy.cfg"
 | 
						|
      - "./oauth2-proxy-alpha-config.yaml:/oauth2-proxy-alpha-config.yaml"
 |