Exposing Memcached service

Anonymous
HOBBY

7 months ago

Hi. I've added the Memchached template to a project. How do i got about exposing the service to my (Django) backend? Is it a case of setting some ENVs? I assume just make sure Django settings are pointing to service port in MEMCACHE_PRIVATE_SERVER env.

Sorry couldn't see any docs related.

Project id: 4f1d4e07-9f0f-46dd-b818-1e47b72f7c64

Solved

0 Replies

maddsua
HOBBY

7 months ago

Should be as simple as pointing Django to $host.railway.internal:$port, where $host and $port are the host and port of your memcached service reactively.


maddsua
HOBBY

7 months ago

Setting that to just $servicename:$port also works


Anonymous
HOBBY

7 months ago

Yea that's what i figured, just double checking before i have chance to test. Cheers


7 months ago

whatever you do, don't expose it publicly, it has no authentication


maddsua
HOBBY

7 months ago

Real


7 months ago

!s


Status changed to Solved brody 7 months ago


Exposing Memcached service - Railway Help Station