mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-04-29 07:21:37 +08:00
38 lines
932 B
HCL
38 lines
932 B
HCL
# Nomad Development Configuration (Hermes-Agent)
|
|
# Run with: nomad agent -dev -config=nomad-dev.hcl
|
|
#
|
|
# This is intended for local development only.
|
|
|
|
client {
|
|
enabled = true
|
|
|
|
options {
|
|
# Enable Docker volume mounts for persistent slot workspaces
|
|
"docker.volumes.enabled" = "true"
|
|
}
|
|
}
|
|
|
|
# Docker driver plugin configuration
|
|
plugin "docker" {
|
|
config {
|
|
# CRITICAL: Enable volume mounts
|
|
volumes {
|
|
enabled = true
|
|
}
|
|
|
|
# Allow privileged containers if needed
|
|
allow_privileged = false
|
|
|
|
# Garbage collection settings
|
|
gc {
|
|
image = true
|
|
# NOTE: For local dev we often rely on locally built images like `atropos-sandbox:local`.
|
|
# A short image GC delay can delete these between runs, causing confusing "Failed to pull"
|
|
# crash loops. Keep this comfortably long; tighten it for CI/production if needed.
|
|
image_delay = "24h"
|
|
container = true
|
|
}
|
|
}
|
|
}
|
|
|