Deploying redisearch in docker timing out

Hello everybody!

Im trying to deploy a redissearch as a web service with this dockerfile:

FROM redislabs/redisearch:latest

ENTRYPOINT [“redis-server”, “/etc/secrets/redis.conf”]
CMD ["–appendonly", “yes”, “–loadmodule”, “/usr/lib/redis/modules/redisearch.so”, “–port”, “10000”]

But it keeps saying “In progress” until it timesout

Logs looks okay. Showing the redis asci art and this:

Aug 25 09:41:10 AM 1:M 25 Aug 2021 12:41:10.157 # Server initialized
Aug 25 09:41:10 AM 1:M 25 Aug 2021 12:41:10.163 * Redis version found by RedisSearch : 6.2.4 - oss
Aug 25 09:41:10 AM 1:M 25 Aug 2021 12:41:10.163 * RediSearch version 2.0.11 (Git=v2.0.9-52-g7a107c6)
Aug 25 09:41:10 AM 1:M 25 Aug 2021 12:41:10.163 * Low level api version 1 initialized successfully
Aug 25 09:41:10 AM 1:M 25 Aug 2021 12:41:10.163 * concurrent writes: OFF, gc: ON, prefix min length: 2, prefix max expansions: 200, query timeout (ms): 500, timeout policy: return, cursor read size: 1000, cursor max idle (ms): 300000, max doctable size: 1000000, max number of search results: 1000000, search pool size: 20, index pool size: 8,
Aug 25 09:41:10 AM 1:M 25 Aug 2021 12:41:10.163 * Initialized thread pool!
Aug 25 09:41:10 AM 1:M 25 Aug 2021 12:41:10.163 * Module ‘search’ loaded from /usr/lib/redis/modules/redisearch.so
Aug 25 09:41:10 AM 1:M 25 Aug 2021 12:41:10.164 * Ready to accept connections

Any ideas?

Hi there,
Is there any particular reason why you’re trying to deploy it as a webservice? You’d probably be better off installing it as a private service so it’s only accessible from services within your account.

I wanted to have access to it from outside render too.
But i also tried deploying it as a private service and had the same problem.

Bump

So, I solved the problem partially. I deployed it as a web service (i had an issue with port and bind in the config) but i cant query redis from outside render. I read that i need to deploy webdis, but i wanted to connect directly to redis.

We don’t permit ingress to none http ports at present, add a vote to Allow connecting to non-HTTP services from outside Render | Feature Requests | Render to make your voice heard.

Thanks!