Compare commits
1 Commits
feat/ai-ch
...
feat/herme
| Author | SHA1 | Date | |
|---|---|---|---|
| d446d67995 |
@@ -1,33 +0,0 @@
|
|||||||
FROM debian:13.4
|
|
||||||
|
|
||||||
# Install system dependencies for Hermes agent with headless browser automation
|
|
||||||
# Single RUN layer to minimize image size.
|
|
||||||
# PR #7 base: curl, poppler-utils, imagemagick for document processing
|
|
||||||
# New: chromium + xvfb for headless browser automation
|
|
||||||
# New: fonts for comprehensive Unicode/CJK/emoji coverage
|
|
||||||
# New: runtime libs required by Chromium
|
|
||||||
RUN apt-get update && \
|
|
||||||
apt-get install -y --no-install-recommends \
|
|
||||||
curl \
|
|
||||||
poppler-utils \
|
|
||||||
imagemagick \
|
|
||||||
chromium \
|
|
||||||
xvfb \
|
|
||||||
fonts-noto-color-emoji fonts-unifont fonts-liberation fonts-ipafont-gothic fonts-wqy-zenhei fonts-tlwg-loma-otf fonts-freefont-ttf \
|
|
||||||
libasound2t64 libatk-bridge2.0-0t64 libatk1.0-0t64 libatspi2.0-0t64 libcairo2 libcups2t64 libdbus-1-3 libdrm2 libgbm1 libglib2.0-0t64 libnspr4 libnss3 libpango-1.0-0 libx11-6 libxcb1 libxcomposite1 libxdamage1 libxext6 libxfixes3 libxkbcommon0 libxrandr2 && \
|
|
||||||
rm -rf /var/lib/apt/lists/*
|
|
||||||
|
|
||||||
# Install uv (Python package manager)
|
|
||||||
COPY --from=ghcr.io/astral-sh/uv:latest /usr/local/bin/uv /usr/local/bin/uv
|
|
||||||
RUN uv --version
|
|
||||||
|
|
||||||
# Verify all expected tools are available
|
|
||||||
RUN curl --version && \
|
|
||||||
pdftotext -v 2>&1 | head -1 && \
|
|
||||||
pdfinfo -v 2>&1 | head -1 && \
|
|
||||||
pdftoppm -v 2>&1 | head -1 && \
|
|
||||||
convert --version | head -1 && \
|
|
||||||
identify --version | head -1 && \
|
|
||||||
chromium --version
|
|
||||||
|
|
||||||
CMD ["/bin/bash"]
|
|
||||||
@@ -52,6 +52,10 @@ services:
|
|||||||
- ROCR_VISIBLE_DEVICES=0,1
|
- ROCR_VISIBLE_DEVICES=0,1
|
||||||
- HSA_ENABLE_SDMA=0
|
- HSA_ENABLE_SDMA=0
|
||||||
- TZ=America/Montreal
|
- TZ=America/Montreal
|
||||||
|
# Hermes Workspace dashboard (port 9119) — enables multi-agent web UI
|
||||||
|
- HERMES_DASHBOARD=1
|
||||||
|
- HERMES_DASHBOARD_HOST=0.0.0.0
|
||||||
|
- HERMES_DASHBOARD_PORT=9119
|
||||||
volumes:
|
volumes:
|
||||||
- /mnt/HoardingCow_docker_data/Hermes/data:/opt/data
|
- /mnt/HoardingCow_docker_data/Hermes/data:/opt/data
|
||||||
# Syncthing-shared org files — read-only view of user's agenda
|
# Syncthing-shared org files — read-only view of user's agenda
|
||||||
@@ -66,6 +70,12 @@ services:
|
|||||||
- "26"
|
- "26"
|
||||||
networks:
|
networks:
|
||||||
- ai_backend
|
- ai_backend
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD-SHELL", "curl -fsS http://localhost:8642/health && curl -fsS http://localhost:9119/api/status || exit 1"]
|
||||||
|
interval: 15s
|
||||||
|
timeout: 5s
|
||||||
|
retries: 5
|
||||||
|
start_period: 60s
|
||||||
|
|
||||||
syncthing:
|
syncthing:
|
||||||
image: syncthing/syncthing:latest
|
image: syncthing/syncthing:latest
|
||||||
|
|||||||
Reference in New Issue
Block a user