Exposing Memcached service
rob8624
HOBBYOP

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

6 Replies

maddsua
HOBBY

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

a year ago

Setting that to just $servicename:$port also works


rob8624
HOBBYOP

a year ago

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


a year ago

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


maddsua
HOBBY

a year ago

Real


a year ago

!s


Status changed to Solved brody 12 months ago


Loading...