redis and python scraper

I have deployed a code on fly io in python
that scrap the data from the redis database deployer on fly (same region)

I launched a redis on fly io too

but I can’t link the code internally in python deployer in fly io
so that the python code reads the data from my redis database. i read i need to put and . internal at the end but it does not works ..

someone have an idea please