Accessing Dragonfly via Private Network
aalfath
PROOP

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

Solved$10 Bounty

11 Replies

aalfath
PROOP

10 months ago

a764e147-c28b-4388-85d2-547de92d2fd0#


aalfath
PROOP

10 months ago

a764e147-c28b-4388-85d2-547de92d2fd0


10 months ago

The description of the template mentions using the DRAGONFLY_PRIVATE_URL env variable


10 months ago

does that work for you?


aalfath
PROOP

10 months ago

oh wait, I think I mixed it up, let me try it and I'll get back to you


aalfath
PROOP

10 months ago

so this is what happens when I tried to deploy Dragonfly template. As you can see, there's no DRAGONFLY_PRIVATE_URL env variable.

1398360221348528169


aalfath
PROOP

10 months ago

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


aalfath
PROOP

10 months ago

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


Welcome!

Sign in to your Railway account to join the conversation.

Loading...