How to add multiple external networks using docker-compose?

Spread the love
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  

I am trying to set up a media server that uses caddy2 as a reverse proxy and route traffic of specific containers through a vpn. To use caddy, all the containers must be on the same network, but I also want a couple containers to only access the internet through the vpn. 1) I’m not sure what the best way to set up this system is, any ideas here would be greatly appreciated. What I am trying right now is to create an internal network that all the containers connect to, so that caddy can properly connect to them, and then have each container also use either a separate default network or to use my vpn container as the network, so that they can access the internet. 2) Will this method even work? And if so 3) How can I format the docker-compose files to have them use multiple networks that were defined outside of the compose file? submitted by /u/LaxKid22 [link] [comments]

X ITM Cloud News

Patricia

Leave a Reply

Next Post

Docker Volumes not working on windows 10 Pro

Wed Sep 16 , 2020
Spread the love          I have been tinkering around with Docker about a month and a half now and so far I am loving it. I am currently building a static website using a container running NGINX but the small issue that I know I am not the only one having is […]
X- ITM

Cloud Computing – Consultancy – Development – Hosting – APIs – Legacy Systems

X-ITM Technology helps our customers across the entire enterprise technology stack with differentiated industry solutions. We modernize IT, optimize data architectures, and make everything secure, scalable and orchestrated across public, private and hybrid clouds.

This image has an empty alt attribute; its file name is x-itmdc.jpg

The enterprise technology stack includes ITO; Cloud and Security Services; Applications and Industry IP; Data, Analytics and Engineering Services; and Advisory.

Watch an animation of  X-ITM‘s Enterprise Technology Stack

We combine years of experience running mission-critical systems with the latest digital innovations to deliver better business outcomes and new levels of performance, competitiveness and experiences for our customers and their stakeholders.

X-ITM invests in three key drivers of growth: People, Customers and Operational Execution.

The company’s global scale, talent and innovation platforms serve 6,000 private and public-sector clients in 70 countries.

X-ITM’s extensive partner network helps drive collaboration and leverage technology independence. The company has established more than 200 industry-leading global Partner Network relationships, including 15 strategic partners: Amazon Web Services, AT&T, Dell Technologies, Google Cloud, HCL, HP, HPE, IBM, Micro Focus, Microsoft, Oracle, PwC, SAP, ServiceNow and VMware

.

X ITM