kind: Deployment apiVersion: apps/v1 metadata: name: hermes namespace: hermes spec: strategy: type: Recreate replicas: 1 selector: matchLabels: app: hermes template: metadata: labels: app: hermes spec: volumes: - name: data hostPath: path: /data/hermes type: DirectoryOrCreate - name: tools hostPath: path: /data/tools type: DirectoryOrCreate - name: projects hostPath: path: /data/code-server/coder type: DirectoryOrCreate - name: tmp emptyDir: {} - name: start-sh configMap: name: hermes-start defaultMode: 0555 containers: - name: gateway #image: cr.wetofu.me/nousresearch/hermes-agent:v2026.5.16 image: image livenessProbe: httpGet: path: /health port: 8642 initialDelaySeconds: 180 periodSeconds: 10 successThreshold: 1 failureThreshold: 3 timeoutSeconds: 5 readinessProbe: httpGet: path: /health port: 8642 periodSeconds: 3 successThreshold: 1 timeoutSeconds: 5 ports: - containerPort: 8642 name: gateway - containerPort: 9119 name: dashboard args: - gateway - run env: - name: TZ value: "Asia/Shanghai" - name: API_SERVER_ENABLED value: "true" - name: API_SERVER_HOST value: "0.0.0.0" - name: API_SERVER_CORS_ORIGINS value: '*' - name: HERMES_UID value: '1000' - name: HERMES_GID value: '1000' - name: HERMES_DASHBOARD value: 'true' - name: HERMES_DASHBOARD_HOST value: '::' - name: HERMES_DASHBOARD_HOST value: '9119' - name: HERMES_DASHBOARD_INSECURE value: "1" envFrom: - secretRef: name: hermes optional: true - configMapRef: name: hermes volumeMounts: - name: data mountPath: /opt/data - name: tools mountPath: /opt/data/home/.local subPath: .local - name: tools mountPath: /opt/data/home/.config subPath: .config - name: projects mountPath: /opt/data/workspace/Projects - name: tmp mountPath: /tmp - name: start-sh mountPath: /opt/hermes/docker/stage2-hook.sh subPath: stage2-hook.sh resources: requests: memory: "1Gi" cpu: "500m" limits: memory: "4Gi" cpu: "2"