|
|
|
|
|
by nl
4470 days ago
|
|
The "extra complexity" needed for multi-machine setups over linking containers is actually pretty minor. Your services need to read something to get the IP, which ultimately comes from an ENV variable. In the linked container scenario Docker sets that variable. Otherwise you set it manually. That's the only extra complexity. I was worried about this too, so I tried it out[1]. In this case I have a YAML config file, which can be overridden by ENV variables (which may come from Docker). This isn't as automatic as CoreOS (eg, no failover etc), but it is a lot less complex. [1] https://github.com/nlothian/Acuitra/blob/master/services/que... |
|