Open raphaeltm opened 2 months ago
After a chat with @edwardrf he reminded me that it's not that redis
as a hostname is a problem, it's that it would replace any instance of a matching string in an env var. So it caused a problem with the bullmq sample where I had a connection string: redis://redis:6379
So I'm unsure why the compose file above failed. I'll need to keep digging.
The right fix is to deploy an instance of CoreDNS in our Playground cluster and do DNS lookups per tenant, instead of using a shared Route53 private zone. Then we no longer need this replacement hack.
Need to investigate the alternative of running (private) services on ECS-EC2 so we can override the DNS search domain in /etc/resolv.conf
.
This fails:
I looked back through the BullMQ Sample and realized I probably need to change
redis
toredisx
to make it work, but this is something I'm certain other people will run into that needs to be fixed.