mirror of
				https://github.com/samply/bridgehead.git
				synced 2025-11-04 01:20:17 +01:00 
			
		
		
		
	feat: allow transfair to talk to services behind the proxy (#296)
This commit is contained in:
		@@ -24,6 +24,8 @@ services:
 | 
			
		||||
      - RUST_LOG=${RUST_LOG:-info}
 | 
			
		||||
      - TLS_CA_CERTIFICATES_DIR=/conf/trusted-ca-certs
 | 
			
		||||
      - TLS_DISABLE=${TRANSFAIR_TLS_DISABLE:-false}
 | 
			
		||||
      - NO_PROXY=${TRANSFAIR_NO_PROXIES}
 | 
			
		||||
      - ALL_PROXY=http://forward_proxy:3128
 | 
			
		||||
    volumes:
 | 
			
		||||
      - /var/cache/bridgehead/${PROJECT}/transfair:/transfair
 | 
			
		||||
      - /etc/bridgehead/trusted-ca-certs:/conf/trusted-ca-certs:ro
 | 
			
		||||
 
 | 
			
		||||
@@ -27,5 +27,9 @@ function transfairSetup() {
 | 
			
		||||
        else
 | 
			
		||||
		    log INFO "TransFAIR configured without ttp"
 | 
			
		||||
	    fi
 | 
			
		||||
        TRANSFAIR_NO_PROXIES="transfair-input-blaze,blaze,transfair-requests-blaze"
 | 
			
		||||
        if [ -n "${TRANSFAIR_NO_PROXY}" ]; then
 | 
			
		||||
            TRANSFAIR_NO_PROXIES+=",${TRANSFAIR_NO_PROXY}"
 | 
			
		||||
        fi
 | 
			
		||||
    fi
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user