From b11eecb4a9f690238992528d45363b76904a5ef3 Mon Sep 17 00:00:00 2001 From: Marc Blatter Date: Mon, 22 Jun 2026 10:59:59 +0000 Subject: [PATCH] Second Brain #1 Anpassungen mit Obsidian --- compose-hermes.yaml | 34 +++++++++++++++++++++++++++++++++- 1 file changed, 33 insertions(+), 1 deletion(-) diff --git a/compose-hermes.yaml b/compose-hermes.yaml index 1faa3b2..7a2395b 100644 --- a/compose-hermes.yaml +++ b/compose-hermes.yaml @@ -1,16 +1,48 @@ +version: "3.9" + +networks: + ai-net: + name: ai-net + services: + obsidian: + image: lscr.io/linuxserver/obsidian:latest + container_name: obsidian + environment: + - PUID=1000 + - PGID=1000 + - TZ=Europe/Zurich + ports: + - "3002:3000" + - "3003:3001" + - "27123:27123" # Local REST API (HTTP) + - "27124:27124" # Local REST API (HTTPS, self-signed) + volumes: + - /opt/obsidian:/config + shm_size: "1gb" + restart: unless-stopped + networks: + - ai-net + hermes-agent: image: nousresearch/hermes-agent:latest container_name: hermes-agent restart: unless-stopped command: gateway run + depends_on: + - obsidian ports: - "8642:8642" # Gateway API (OpenAI-compatible) - "9119:9119" # Web Dashboard volumes: - /opt/hermes-agent/data:/opt/data + - /opt/obsidian/config/Vaults/DeinVaultName:/opt/data/vault:ro environment: - HERMES_DASHBOARD=1 - HERMES_DASHBOARD_HOST=0.0.0.0 - HERMES_DASHBOARD_INSECURE=1 - - OLLAMA_BASE_URL=http://172.16.1.168:11434/v1 \ No newline at end of file + - OLLAMA_BASE_URL=http://172.16.1.168:11434/v1 + - OBSIDIAN_API_URL=http://obsidian:27123 + - OBSIDIAN_API_KEY= + networks: + - ai-net \ No newline at end of file