fix: rename AI postgres service to avoid conflict with core
Changed service name from 'postgres' to 'ai_postgres' to avoid naming conflict with the core PostgreSQL service in Docker Compose include. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
services:
|
services:
|
||||||
# PostgreSQL with pgvector for AI/RAG workloads
|
# PostgreSQL with pgvector for AI/RAG workloads
|
||||||
postgres:
|
ai_postgres:
|
||||||
image: ${AI_POSTGRES_IMAGE:-pgvector/pgvector:pg16}
|
image: ${AI_POSTGRES_IMAGE:-pgvector/pgvector:pg16}
|
||||||
container_name: ${AI_COMPOSE_PROJECT_NAME}_postgres
|
container_name: ${AI_COMPOSE_PROJECT_NAME}_postgres
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
@@ -31,7 +31,7 @@ services:
|
|||||||
TZ: ${TIMEZONE:-Europe/Berlin}
|
TZ: ${TIMEZONE:-Europe/Berlin}
|
||||||
|
|
||||||
# Database configuration
|
# Database configuration
|
||||||
DATABASE_URL: postgresql://${AI_DB_USER}:${AI_DB_PASSWORD}@postgres:5432/${AI_DB_NAME}
|
DATABASE_URL: postgresql://${AI_DB_USER}:${AI_DB_PASSWORD}@ai_postgres:5432/${AI_DB_NAME}
|
||||||
|
|
||||||
# OpenAI API configuration (for Claude via Anthropic API)
|
# OpenAI API configuration (for Claude via Anthropic API)
|
||||||
OPENAI_API_BASE_URLS: ${AI_OPENAI_API_BASE_URLS:-https://api.anthropic.com/v1}
|
OPENAI_API_BASE_URLS: ${AI_OPENAI_API_BASE_URLS:-https://api.anthropic.com/v1}
|
||||||
@@ -64,7 +64,7 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- ai_webui_data:/app/backend/data
|
- ai_webui_data:/app/backend/data
|
||||||
depends_on:
|
depends_on:
|
||||||
- postgres
|
- ai_postgres
|
||||||
networks:
|
networks:
|
||||||
- compose_network
|
- compose_network
|
||||||
labels:
|
labels:
|
||||||
|
|||||||
Reference in New Issue
Block a user