Comments (2)
大佬不敢当。
这里其实就是搭建了一个研发内网所用的DNS,可以配置到内网的网络设备上。
这个配置文件里的IP实际上是所在主机的IP,根据你的实际情况调整就可以。
同一个docker-compose网络中的不同service可以通过service.name
给定的名字互相访问,不过跨主机是不行的,所以需要搭一个内部的DNS。如果你对K8S熟悉的话,可以利用K8S的service来进行流量的转发。
from infra-docker-compose.
好的 感谢答复.
明白了, 代码中例子是都部署在一台主机上. readme 中是示例根据情况调整 dns 服务的域名 ip 的配置.
一般内网路由是专门小组或部门管理,如果无法协调内部 dns, 那就只能是 麻烦一点用的人都改 hosts 是吧
from infra-docker-compose.
Related Issues (3)
- 大佬装这些东西要配几个主机? HOT 1
- gitlab-ce和 sameersbn/gitlab主要区别是啥 HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from infra-docker-compose.