- Create external 'monotrope' Docker network so services can communicate by container name - Add Miniflux to the shared network (db stays on internal network) - Add Hermes Miniflux plugin with list_feeds and get_unread_entries tools - Mount plugin directory and pass Miniflux API key to Hermes container Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
33 lines
767 B
YAML
33 lines
767 B
YAML
services:
|
|
hermes:
|
|
image: nousresearch/hermes-agent:latest
|
|
container_name: hermes
|
|
restart: unless-stopped
|
|
command: gateway run
|
|
logging:
|
|
driver: json-file
|
|
options:
|
|
max-size: "10m"
|
|
max-file: "3"
|
|
networks:
|
|
- monotrope
|
|
volumes:
|
|
- hermes_data:/opt/data
|
|
- ./config.yaml:/opt/data/config.yaml:ro
|
|
- ./plugins:/opt/data/plugins:ro
|
|
environment:
|
|
OPENROUTER_API_KEY: "${OPENROUTER_API_KEY}"
|
|
TELEGRAM_BOT_TOKEN: "${TELEGRAM_BOT_TOKEN}"
|
|
TELEGRAM_ALLOWED_USERS: "${TELEGRAM_ALLOWED_USERS}"
|
|
MINIFLUX_API_KEY: "${MINIFLUX_API_KEY}"
|
|
MINIFLUX_BASE_URL: "http://miniflux:8080"
|
|
env_file:
|
|
- .env
|
|
|
|
networks:
|
|
monotrope:
|
|
external: true
|
|
|
|
volumes:
|
|
hermes_data:
|