Closed di5cord20 closed 1 year ago
While this work I had a better idea for this: I will make Cosmos ignore empty strings in the list array of connected container this way you can just link all the variables, and it will just ignore the empty ones I think that will be much easier to maintain this compose file in the future This will be in the next minor release (probably tonight)
Assuming I understood your change correctly, I've removed all of the complex nested if conditions within the links section.
Cool stuff it works! (and its much cleaner ahah) The only thing is you need to set the minimum version 0.10.3 because this wont work on older version ;) thanks for the good work!
minVersion has been updated
Thank you!!
Currently depends on user to include/select Sonarr container. Not doing so will result in the compose erroring out. This is a known bug due to not having option to add an OR operator in the cosmos-compose.json code.
Update: I have implemented a very ugly bandaid to work around the lack of an OR operator. The good news is that it's a black box to the end user and just works now!