Web job from Nomad tutorial can't connect to the Redis job

I’m following the Nomad tutorial at Deploy and Update a Job | Nomad | HashiCorp Developer running on MacOS with Docker Desktop.

I’ve run both the jobs and am getting a 5xx error going to the web interface. The web server can’t connect to Redis on 127.0.0.1:[xxxx].

It looks like the Nomad service mesh is seeing the Redis instance’s IP as 127.0.0.1, whereas the Docker bridge interface is 172.17.0.2

I can connect from the web container to redis using netcat with that address and port. How can I get the service mesh and template from the tutorial to reference it correctly?