Hello, I am doing the same project as yours, I discovered a little bug in OmniApi script.
In the repository, it showed that you want to separate OmniApi and Redis apart. The script config.py is fundamentally had to be replaced.
However, in the script cacher.py, it separated remote and local redis server. The Api scripts that imported cacher.py always used the localhost redis client operations. Hence, if you want api scripts connect to the redis server in the docker network, you have to change the code line:
l = rredis.StrictRedis() into
l = redis.StrictRedis(host=config.REDIS_HOST, port=config.REDIS_PORT, db=config.REDIS_DB)
It should work fine
Hello, I am doing the same project as yours, I discovered a little bug in OmniApi script.
In the repository, it showed that you want to separate OmniApi and Redis apart. The script
config.pyis fundamentally had to be replaced.However, in the script
cacher.py, it separated remote and local redis server. The Api scripts that imported cacher.py always used the localhost redis client operations. Hence, if you want api scripts connect to the redis server in the docker network, you have to change the code line:l = rredis.StrictRedis()intol = redis.StrictRedis(host=config.REDIS_HOST, port=config.REDIS_PORT, db=config.REDIS_DB)It should work fine