diff --git a/dankclaw/.env.example b/dankclaw/.env.example index 60a1258..b4612b0 100644 --- a/dankclaw/.env.example +++ b/dankclaw/.env.example @@ -28,3 +28,9 @@ GRAFANA_ADMIN_PASSWORD=changeme # 2026-08-17 redo: the llama.cpp box moved from Dankclaw to Dankserver. OPENAI_API_BASE_URL=http://192.168.0.235:7770/v1 OPENAI_API_KEY=not-needed + +# Hermes -> Signal (signal-cli daemon on the host, port 8080) +# E.164 number of the linked Signal account (your primary number, for Note-to-Self). +SIGNAL_ACCOUNT=+15551234567 +# Comma-separated E.164 numbers allowed to message the agent. +SIGNAL_ALLOWED_USERS=+15551234567 diff --git a/dankclaw/compose.yaml b/dankclaw/compose.yaml index d0cfeae..0d8e7b1 100644 --- a/dankclaw/compose.yaml +++ b/dankclaw/compose.yaml @@ -68,10 +68,15 @@ services: restart: unless-stopped environment: HERMES_DATA_DIR: /data + # Signal adapter -> the host signal-cli daemon. The container reaches the + # host via podman's host alias; 127.0.0.1 inside the container is not the host. + SIGNAL_HTTP_URL: "http://host.containers.internal:8080" + SIGNAL_ACCOUNT: "${SIGNAL_ACCOUNT}" + SIGNAL_ALLOWED_USERS: "${SIGNAL_ALLOWED_USERS}" ports: - "8090:8090" volumes: - - /opt/hermes/data:/data + - /home/dank/hermes-data:/data healthcheck: test: ["CMD", "python3", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:8090/')"] interval: 30s