Accessing Dragonfly via Private Network
aalfath
PROOP

a year 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

a year ago

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


aalfath
PROOP

a year ago

a764e147-c28b-4388-85d2-547de92d2fd0


a year ago

The description of the template mentions using the DRAGONFLY_PRIVATE_URL env variable


a year ago

does that work for you?


aalfath
PROOP

a year ago

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


aalfath
PROOP

a year 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

a year 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

a year 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 12 months ago


a year ago

Thanks for the callout! Marking this thread as solved


a year ago

@Brody owns this template, might need some adjustments!


a year ago

!s


Status changed to Solved adam 12 months ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...