diff --git a/src/.env.example b/src/.env.example index ecf21ef1..9584afac 100644 --- a/src/.env.example +++ b/src/.env.example @@ -39,7 +39,7 @@ LLM_API_BASE=http://ollama:11434 ## A database is required for vector and user management. ## Database connection string -DB_CONNECTION=postgresql+psycopg://postgres:password@vec_db:5434/vec +DB_CONNECTION=postgresql+psycopg://postgres:password@vector_db:5434/vec # End of basic configuration ############################ diff --git a/src/docker-compose.yml b/src/docker-compose.yml index d0bdcaaa..b71cbf84 100644 --- a/src/docker-compose.yml +++ b/src/docker-compose.yml @@ -12,7 +12,7 @@ services: networks: - openagent-network - vec_db: + vector_db: image: pgvector/pgvector:pg16 container_name: vec_db restart: unless-stopped