File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -59,6 +59,23 @@ services:
5959<Callout type="warning">Failure to configure `  NO_PROXY` correctly can cause the proxy configuration to interfere with 
6060local networking between internal Sourcegraph services.</Callout> 
6161
62+ # # Docker networking configuration
63+ To avoid IP range collissions with the host network, it is recommended to explicitly configure a CIDR range for the 
64+ Docker network. 
65+ 
66+ ` ` ` yaml
67+ networks: 
68+   default: 
69+     ipam: 
70+       driver: default 
71+       config: 
72+         - subnet: "172.20.2.0/27" # CIDR range for the Docker network that doesn't overlap with the host network. 
73+ ` ` ` 
74+ 
75+ Additional information on docker networking can be found here :
76+ * [Docker networking overview](https://docs.docker.com/network/) 
77+ * [Networking in Compose](https://docs.docker.com/compose/how-tos/networking/) 
78+ 
6279# # Configuring TLS certificates for private networks
6380
6481When deploying Sourcegraph in private networks, you'll often need to configure TLS certificates to establish trusted 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments