You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
When selfhosting, one may want to use a local redis instance instead of Upstash. It works flawlessly to host a redis server (or redis API compatible), and setting the UPSTASH_REDIS_REST_URL to 127.0.0.1, or the IP of the redis instance. The UPSTASH_REDIS_REST_TOKEN can be left empty, but you need to update src/env.mjs to allow the UPSTASH_REDIS_REST_TOKEN to be empty.
UPSTASH_REDIS_REST_TOKEN: z.string().min(0),
Describe the solution you'd like
I would like CONTRIBUTING.md to document the usage of a local redis instance.
Describe alternatives you've considered
A different solution would be to make redis optional, since it is only used for rate limiting. If noodle is only exposed to LAN, rate limiting is not a big concern.
Is your feature request related to a problem? Please describe.
When selfhosting, one may want to use a local redis instance instead of Upstash. It works flawlessly to host a redis server (or redis API compatible), and setting the
UPSTASH_REDIS_REST_URL
to127.0.0.1
, or the IP of the redis instance. TheUPSTASH_REDIS_REST_TOKEN
can be left empty, but you need to updatesrc/env.mjs
to allow theUPSTASH_REDIS_REST_TOKEN
to be empty.Describe the solution you'd like
I would like
CONTRIBUTING.md
to document the usage of a local redis instance.Describe alternatives you've considered
A different solution would be to make redis optional, since it is only used for rate limiting. If noodle is only exposed to LAN, rate limiting is not a big concern.
Additional context
See Discord conversation about redis.
The text was updated successfully, but these errors were encountered: