Files
hermes/docker-compose.cn.yml
2026-04-13 14:56:51 +08:00

38 lines
1.1 KiB
YAML

services:
hermes:
image: hermes-agent:cn-local
container_name: hermes
restart: unless-stopped
command: gateway run
ports:
- "8642:8642"
volumes:
- /Users/dannier/.hermes:/opt/data
shm_size: "1gb"
env_file:
- /Users/dannier/Desktop/living/hh/hermes-docker.env
environment:
- TZ=Asia/Shanghai
- API_SERVER_ENABLED=true
- API_SERVER_HOST=0.0.0.0
- "API_SERVER_KEY=change-me-local-dev"
- "API_SERVER_CORS_ORIGINS=http://127.0.0.1:8642,http://localhost:8642,http://localhost:3000,http://127.0.0.1:3000"
open-webui:
image: ghcr.io/open-webui/open-webui:main
container_name: hermes-open-webui
restart: unless-stopped
depends_on:
- hermes
ports:
- "3000:8080"
environment:
- "OPENAI_API_BASE_URL=http://hermes:8642/v1"
- "OPENAI_API_KEY=change-me-local-dev"
- "WEBUI_SECRET_KEY=dev-change-me-in-production"
- ENABLE_SIGNUP=true
- ENABLE_OLLAMA_API=false
volumes:
- /Users/dannier/Desktop/living/hh/open-webui-data:/app/backend/data