I have the following docker-compose file. As it stands it works just fine. However if I uncomment the sidekick label then rancher-compose simply hangs, no output, nothing shown in Rancher UI. Rancher-compose 0.5.1
I’v just proved definitively that sidekicks are mutually exclusive with links. Shame as I wanted to make my databases sidekicks of the services for tidiness. Is there a reason why this is so?
Yes, you cannot link with a sidekick, but in your use case, I think you are looking for this enhancement. This would allow you to remove the links and the environment variables that are typically taken care of through the “links” would be automatically done for sidekicks.
That would be ideal. In essence a sidekick would be transparently linked. It’s really only for tidiness in the UI. Se have a number of services which use a private database which doesn’t need to visually be a whole separate service.