Open garyfeng opened 1 year ago
command to start redis
prior to running autoGPT
docker:
docker run -d --name redis-stack-server -p 6379:6379 redis/redis-stack-server:latest
We have changed the .env
for autoGPT
so that it (autoGPT docker) uses host.docker.internal
as the IP address, i.e., the host computer's IP address, on which redis
exposes its port 6379
.
MEMORY_BACKEND=redis
REDIS_HOST=host.docker.internal
REDIS_PORT=6379
REDIS_PASSWORD=
Duplicates
Summary 💡
I want to use
redis
as the memory backend, following theREADME.md
.Examples 🌈
See the README file for how to set this up.
Motivation 🔦
I run
autoGPT
using the docker solution on my Windows machine. By default it usesmemory
as the backend. The docker runs, but it throws an error message saying it can't write the memory to the file system. And at some point the system may end in errors, and I am not sure if it is related to the memory backend. And we can't look up since nothing is saved.