feat: keep only Honcho, remove OpenViking from memory providers
This commit is contained in:
@@ -70,6 +70,8 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- ai_backend
|
- ai_backend
|
||||||
- ai_net
|
- ai_net
|
||||||
|
depends_on:
|
||||||
|
- honcho
|
||||||
labels:
|
labels:
|
||||||
- "traefik.enable=true"
|
- "traefik.enable=true"
|
||||||
- "traefik.docker.network=ai_net"
|
- "traefik.docker.network=ai_net"
|
||||||
@@ -156,6 +158,66 @@ services:
|
|||||||
- "303"
|
- "303"
|
||||||
- "26"
|
- "26"
|
||||||
|
|
||||||
|
# --- Honcho: AI-native user modeling ---
|
||||||
|
honcho:
|
||||||
|
build: ./honcho
|
||||||
|
container_name: honcho
|
||||||
|
restart: unless-stopped
|
||||||
|
ports:
|
||||||
|
- "127.0.0.1:8000:8000"
|
||||||
|
environment:
|
||||||
|
- DB_CONNECTION_URI=postgresql+psycopg://honcho:honcho_pass@honcho-db:5432/honcho
|
||||||
|
- CACHE_URL=redis://honcho-redis:6379/0
|
||||||
|
- CACHE_ENABLED=true
|
||||||
|
volumes:
|
||||||
|
- /mnt/HoardingCow_docker_data/Honcho/data:/app/data
|
||||||
|
networks:
|
||||||
|
- ai_backend
|
||||||
|
depends_on:
|
||||||
|
honcho-db:
|
||||||
|
condition: service_healthy
|
||||||
|
honcho-redis:
|
||||||
|
condition: service_healthy
|
||||||
|
|
||||||
|
honcho-db:
|
||||||
|
image: pgvector/pgvector:pg15
|
||||||
|
container_name: honcho-db
|
||||||
|
restart: unless-stopped
|
||||||
|
ports:
|
||||||
|
- "127.0.0.1:5432:5432"
|
||||||
|
command: ["postgres", "-c", "max_connections=200"]
|
||||||
|
environment:
|
||||||
|
- POSTGRES_DB=honcho
|
||||||
|
- POSTGRES_USER=honcho
|
||||||
|
- POSTGRES_PASSWORD=honcho_pass
|
||||||
|
- PGDATA=/var/lib/postgresql/data/pgdata
|
||||||
|
volumes:
|
||||||
|
- /mnt/HoardingCow_docker_data/Honcho/postgres:/var/lib/postgresql/data
|
||||||
|
- ./honcho/init-db.sql:/docker-entrypoint-initdb.d/init.sql:ro
|
||||||
|
networks:
|
||||||
|
- ai_backend
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD-SHELL", "pg_isready -U honcho -d honcho"]
|
||||||
|
interval: 5s
|
||||||
|
timeout: 5s
|
||||||
|
retries: 5
|
||||||
|
|
||||||
|
honcho-redis:
|
||||||
|
image: redis:8
|
||||||
|
container_name: honcho-redis
|
||||||
|
restart: unless-stopped
|
||||||
|
ports:
|
||||||
|
- "127.0.0.1:6379:6379"
|
||||||
|
volumes:
|
||||||
|
- /mnt/HoardingCow_docker_data/Honcho/redis:/data
|
||||||
|
networks:
|
||||||
|
- ai_backend
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD-SHELL", "redis-cli ping"]
|
||||||
|
interval: 5s
|
||||||
|
timeout: 5s
|
||||||
|
retries: 5
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
ai_net:
|
ai_net:
|
||||||
external: true
|
external: true
|
||||||
|
|||||||
Reference in New Issue
Block a user