mirror of
https://github.com/furyhawk/agent_alpha.git
synced 2026-07-21 02:25:34 +00:00
feat: update database and Valkey URLs in .env.example and docker-compose.yml for consistency
This commit is contained in:
+2
-2
@@ -9,7 +9,7 @@ LLM_API_KEY=
|
||||
LOGFIRE_TOKEN=
|
||||
|
||||
# PostgreSQL (asyncpg connection string)
|
||||
DATABASE_URL=postgresql+asyncpg://agent_alpha:agent_alpha@localhost:5432/agent_alpha
|
||||
DATABASE_URL=postgresql+asyncpg://agent_alpha:agent_alpha@postgres:5432/agent_alpha
|
||||
|
||||
# Valkey / Redis
|
||||
VALKEY_URL=redis://localhost:6379/0
|
||||
VALKEY_URL=redis://valkey:6379/0
|
||||
|
||||
+3
-2
@@ -25,8 +25,9 @@ services:
|
||||
# host .env file (with localhost URLs) does NOT override them.
|
||||
- LLM_BASE_URL=${LLM_BASE_URL:-http://host.docker.internal:11434/v1}
|
||||
- LLM_MODEL=${LLM_MODEL:-llama}
|
||||
- DATABASE_URL=postgresql+asyncpg://agent_alpha:agent_alpha@postgres:5432/agent_alpha
|
||||
- VALKEY_URL=redis://valkey:6379/0
|
||||
- DATABASE_URL=${DATABASE_URL:-postgresql+asyncpg://agent_alpha:agent_alpha@postgres:5432/agent_alpha}
|
||||
- VALKEY_URL=${VALKEY_URL:-redis://valkey:6379/0}
|
||||
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
postgres:
|
||||
|
||||
Reference in New Issue
Block a user