Closed johnmccabe closed 8 years ago
@johnmccabe yes, could do that - would be nice to support autodetect of aliases as well, somehow - maybe two config keys?
@grkvlt could you elaborate on the autodetection idea?
It should also resolve the current problem using containerName
where you're limited to only one occurrence of that entity as we should be able to switch to using randomly generated unique container names only.
Fixed by #272
Its doesn't appear to be possibly to link 2 containers which use different aliases to the same container via clocker yaml, for example this compose has 2 containers connecting to the same db, but they are implemented expecting different aliases.
We can't currently support this in Clocker as the alias is instead pulled from the entity being connected to via the alias: targetEntity'? wdyt @grkvlt ?
ContainerName
and as such can only be set to one value so only one of the connecting containers can be satisfied. Perhaps switchingdocker.container.links
from a list to a map of '