diff --git a/compose-hermes.yaml b/compose-hermes.yaml index 1426f64..f112cdf 100644 --- a/compose-hermes.yaml +++ b/compose-hermes.yaml @@ -1,9 +1,3 @@ -version: "3.9" - -networks: - ai-net: - name: ai-net - services: obsidian: image: lscr.io/linuxserver/obsidian:latest @@ -15,14 +9,14 @@ services: ports: - "3002:3000" - "3003:3001" - - "27123:27123" # Local REST API (HTTP) - - "27124:27124" # Local REST API (HTTPS, self-signed) + - "27123:27123" + - "27124:27124" + - "8642:8642" # Hermes Gateway API + - "9119:9119" # Hermes Dashboard volumes: - /opt/obsidian:/config shm_size: "1gb" restart: unless-stopped - networks: - - ai-net hermes-agent: image: nousresearch/hermes-agent:latest @@ -31,18 +25,14 @@ services: command: gateway run depends_on: - obsidian - ports: - - "8642:8642" # Gateway API (OpenAI-compatible) - - "9119:9119" # Web Dashboard + network_mode: "service:obsidian" volumes: - /opt/hermes-agent/data:/opt/data - - /opt/obsidian/config/Vaults/DeinVaultName:/opt/data/vault:ro + - /opt/obsidian/config/Vaults/Test/Hermes:/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 - - OBSIDIAN_API_URL=http://obsidian:27123 - - OBSIDIAN_API_KEY=d951c952266b7571ee3fd1fe08dcbbfc3b6f6a5783d7b56ec5cbc21eeaff469c - networks: - - ai-net \ No newline at end of file + - OBSIDIAN_API_URL=http://127.0.0.1:27123 + - OBSIDIAN_API_KEY=d951c952266b7571ee3fd1fe08dcbbfc3b6f6a5783d7b56ec5cbc21eeaff469c \ No newline at end of file