-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
38 lines (36 loc) · 1.09 KB
/
Copy pathdocker-compose.yml
File metadata and controls
38 lines (36 loc) · 1.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
services:
hermes-telegram:
build:
context: .
dockerfile: Dockerfile
container_name: hermes-telegram
volumes:
- ./.env:/app/.env:ro
- ./config.yaml:/root/.hermes/config.yaml:ro
- hermes-data:/root/.hermes
# SSH key for remote VM access (MCP ssh-mcp)
- ${SSH_KEY_PATH:-~/.ssh/id_rsa}:/root/.ssh/id_rsa
environment:
- GH_TOKEN=${GH_TOKEN}
- MINIMAX_API_KEY=${MINIMAX_API_KEY}
- HERMES_MODEL=${HERMES_MODEL:-MiniMax-M2.7}
- TELEGRAM_BOT_TOKEN=${TELEGRAM_BOT_TOKEN}
- TELEGRAM_ENABLED=${TELEGRAM_ENABLED:-true}
- TELEGRAM_ALLOWED_USERS=${TELEGRAM_ALLOWED_USERS:-}
- GATEWAY_ALLOW_ALL_USERS=${GATEWAY_ALLOW_ALL_USERS:-true}
# SSH Credentials for remote VM MCP
#- SSH_HOST=${SSH_HOST:-142.44.757.203}
#- SSH_PORT=${SSH_PORT:-22}
#- SSH_USER=${SSH_USER:-user}
#- SSH_KEY_PATH=/root/.ssh/id_rsa
env_file:
- .env
restart: unless-stopped
command: ["hermes", "gateway"]
networks:
- hermes-network
networks:
hermes-network:
driver: bridge
volumes:
hermes-data: