10 months ago
Hi,
Does anyone know how to properly access the Dragonfly sevice using private network?
I tried using "DRAGONFLY_PUBLIC_URL" but it doesn't seem to work.
Here's template link: https://railway.com/deploy/dragonfly
11 Replies
10 months ago
The description of the template mentions using the DRAGONFLY_PRIVATE_URL env variable
10 months ago
does that work for you?
so this is what happens when I tried to deploy Dragonfly template. As you can see, there's no DRAGONFLY_PRIVATE_URL env variable.

This ticket can be closed, apparently if you use ioredis package (https://github.com/redis/ioredis), you have to pass family: 0
https://discord.com/channels/713503345364697088/1392481979236089956/1392481979236089956
but your answer is correct, it's just that the template needs to be updated as there is no such env var.
the private URL is instead named as DRAGONFLY_URL
Status changed to Open nico • 10 months ago
10 months ago
Thanks for the callout! Marking this thread as solved
10 months ago
@Brody owns this template, might need some adjustments!
10 months ago
!s
Status changed to Solved adam • 10 months ago