Closed Xerizaf closed 1 year ago
version: "3.9"
services:
auto-gpt:
depends_on:
- redis
build: ./
env_file:
- .env
environment:
MEMORY_BACKEND: ${MEMORY_BACKEND:-redis}
REDIS_HOST: redis
volumes:
- ./:/app
profiles: ["exclude-from-up"]
links:
- redis
redis:
image: "redis/redis-stack-server:latest"
restart: always
ports:
- '6379:6379'
Didn't solve the problem. How to create a redis password?
by default redis has no password
There are two paths here:
docker-compose.yml
or .env
Apologies. I missed this one:
localhost:6379
For docker you have to set REDIS_HOST=redis
Xerizaf, I had the same error after switching to a paid openai account. I generated a new api key at https://platform.openai.com/account/api-keys and copied it in to .env and that fixed it for me. Hopefully, this helps.
Solved.
Where do I put this?
I got redi working on apple silicon mac with Autogpt by using Visual basic studio IDE and Docker Desktop. There is some juggling between apps. basically go through the autogpt readme file after downloading everything. which will prompt a dev container extension and redis environent.
⚠️ Search for existing issues first ⚠️
Which Operating System are you using?
Windows
Which version of Auto-GPT are you using?
Latest Release
GPT-3 or GPT-4?
GPT-3.5
Steps to reproduce 🕹
Connect to Redis
Current behavior 😯
FAILED TO CONNECT TO REDIS Error 99 connecting to localhost:6379. Cannot assign requested address. DOUBLE CHECK CONFIGURATION Please ensure you have setup and configured Redis properly for use. You can check out https://github.com/Torantulino/Auto-GPT#redis-setup to ensure you've set up everything correctly.
Expected behavior 🤔
To connect properly
Your prompt 📝
Your Logs 📒