feat: honcho-only memory provider with Traefik + Authelia
- Remove OpenViking/Holographic dependencies (only Honcho stays) - Remove httpx install from Dockerfile (was for OpenViking) - Add Traefik routing for honcho at honcho.lazyworkhorse.net - Add Authelia auth middleware on honcho HTTPS - Add ai_net network to honcho for Traefik access
This commit is contained in:
@@ -176,11 +176,29 @@ services:
|
|||||||
- /mnt/HoardingCow_docker_data/Honcho/data:/app/data
|
- /mnt/HoardingCow_docker_data/Honcho/data:/app/data
|
||||||
networks:
|
networks:
|
||||||
- ai_backend
|
- ai_backend
|
||||||
|
- ai_net
|
||||||
depends_on:
|
depends_on:
|
||||||
honcho-db:
|
honcho-db:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
honcho-redis:
|
honcho-redis:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
|
labels:
|
||||||
|
- "traefik.enable=true"
|
||||||
|
|
||||||
|
# Router for HTTP + redirect to HTTPS
|
||||||
|
- "traefik.http.routers.honcho-http.rule=Host(`honcho.lazyworkhorse.net`)"
|
||||||
|
- "traefik.http.routers.honcho-http.entrypoints=web"
|
||||||
|
- "traefik.http.routers.honcho-http.middlewares=redirect-to-https"
|
||||||
|
|
||||||
|
# Router for HTTPS with TLS — protected by Authelia
|
||||||
|
- "traefik.http.routers.honcho-https.rule=Host(`honcho.lazyworkhorse.net`)"
|
||||||
|
- "traefik.http.routers.honcho-https.entrypoints=websecure"
|
||||||
|
- "traefik.http.routers.honcho-https.tls=true"
|
||||||
|
- "traefik.http.routers.honcho-https.tls.certresolver=njalla"
|
||||||
|
- "traefik.http.routers.honcho-https.middlewares=hermes-auth"
|
||||||
|
|
||||||
|
# Service Loadbalancer
|
||||||
|
- "traefik.http.services.honcho.loadbalancer.server.port=8000"
|
||||||
|
|
||||||
honcho-db:
|
honcho-db:
|
||||||
image: pgvector/pgvector:pg15
|
image: pgvector/pgvector:pg15
|
||||||
|
|||||||
@@ -51,12 +51,6 @@ RUN . /opt/hermes/.venv/bin/activate && \
|
|||||||
|
|
||||||
WORKDIR /opt/hermes
|
WORKDIR /opt/hermes
|
||||||
|
|
||||||
# ---------- Memory provider dependencies ----------
|
|
||||||
# httpx: HTTP client for OpenViking plugin
|
|
||||||
# honcho-ai: already installed in upstream image (v2.1.1+)
|
|
||||||
RUN . /opt/hermes/.venv/bin/activate && \
|
|
||||||
uv pip install --no-cache-dir httpx
|
|
||||||
|
|
||||||
# ---------- Piper TTS ----------
|
# ---------- Piper TTS ----------
|
||||||
RUN . /opt/hermes/.venv/bin/activate && \
|
RUN . /opt/hermes/.venv/bin/activate && \
|
||||||
uv pip install --no-cache-dir piper-tts sounddevice numpy && \
|
uv pip install --no-cache-dir piper-tts sounddevice numpy && \
|
||||||
|
|||||||
Reference in New Issue
Block a user