Fail closed when Hermes local config is unreadable

This commit is contained in:
Mikei386
2026-08-24 17:15:15 +02:00
parent 348ca1324e
commit 8ef079d40e
5 changed files with 28 additions and 1 deletions
+2 -1
View File
@@ -788,12 +788,13 @@ services:
image: ${HERMES_IMAGE:-nousresearch/hermes-agent@sha256:143bdb9086bb2db645346179f11091e621ef6b7f4f9e5049ae7454bfeb3a0495}
container_name: mike-ai-hermes
restart: unless-stopped
command: [gateway, run]
command: [/usr/local/bin/start-hermes-managed]
env_file:
- /data/hermes/.env
volumes:
- /data/hermes:/opt/data
- /data/hermes/workspace:/workspace
- ./platform/hermes/start-hermes-managed.sh:/usr/local/bin/start-hermes-managed:ro
environment:
HERMES_HOME: /opt/data
dns: ["${AI_DNS:-1.1.1.1}"]