hermes-association-engine / docker-compose.yml
feiertu's picture
Upload docker-compose.yml with huggingface_hub
e0c57a8 verified
Raw
History Blame Contribute Delete
551 Bytes
# Hermes 一键部署
# docker compose up -d
version: "3.8"
services:
hermes:
build: .
container_name: hermes
restart: unless-stopped
volumes:
- hermes_data:/root/.hermes
environment:
- HERMES_DATA_DIR=/root/.hermes/data
- HF_ENDPOINT=${HF_ENDPOINT:-https://huggingface.co}
ports:
- "9876:9876"
healthcheck:
test: ["CMD", "python", "-c", "from hermes_core.embedder import Embedder; Embedder.is_available()"]
interval: 60s
timeout: 10s
retries: 3
volumes:
hermes_data: