On this page - the example has you using go templating to have a db service that may or may not be setup, but in the rancher compose file, there is a static entry for db. When I do this locally on rancher 1.6 I get an error because the rancher-compose file is referencing a service that doesn't exist.
Am I missing something?
I'd like to use go templating to conditionally include a service based on questions in rancher compose, and have rancher compose entries for those services if they are included.
https://github.com/rancher/community-catalog/wiki/Best-practices
On this page - the example has you using go templating to have a db service that may or may not be setup, but in the rancher compose file, there is a static entry for
db
. When I do this locally on rancher 1.6 I get an error because the rancher-compose file is referencing a service that doesn't exist.Am I missing something?
I'd like to use go templating to conditionally include a service based on questions in rancher compose, and have rancher compose entries for those services if they are included.