Docker Deployment
Why Docker?
Section titled “Why Docker?”- Reproducible — Same environment everywhere
- Isolated — No conflicts with system packages
- Easy — One command to start
- Scalable — Run multiple instances easily
Quick Start
Section titled “Quick Start”docker pull nousresearch/hermes-agent:latestdocker run -it \ -v ~/.hermes:/root/.hermes \ -p 8080:8080 \ nousresearch/hermes-agent:latestDocker Compose (Recommended)
Section titled “Docker Compose (Recommended)”Create a docker-compose.yml:
version: '3.8'services: hermes-agent: image: nousresearch/hermes-agent:latest container_name: hermes-agent restart: unless-stopped volumes: - ./hermes-data:/root/.hermes ports: - "8080:8080" environment: - TZ=Asia/ShanghaiStart:
docker compose up -dUsing Specific Versions
Section titled “Using Specific Versions”# Pin to a specific versiondocker pull nousresearch/hermes-agent:v0.13.0
# Or in docker-compose.ymlimage: nousresearch/hermes-agent:v0.13.0Data Persistence
Section titled “Data Persistence”Mount the ~/.hermes directory to persist your data:
docker run -it \ -v /path/to/hermes-data:/root/.hermes \ nousresearch/hermes-agent:latest⚠️ Important: Do not mount the same data directory to multiple running containers simultaneously.
Environment Variables
Section titled “Environment Variables”| Variable | Default | Description |
|---|---|---|
HERMES_CONFIG | /root/.hermes/config.yaml | Config file path |
TZ | UTC | Timezone |
HERMES_LOG_LEVEL | INFO | Log level |
Health Check
Section titled “Health Check”docker exec hermes-agent hermes doctorNext Steps
Section titled “Next Steps”- Model Configuration — Set up your LLM
- Advanced Config — Fine-tune your setup