# Review-only migration template. Never run automatically; keep gateway/crons unchanged. name: canina-hermes services: canina-hermes: profiles: [operator-approved-runtime] image: nousresearch/hermes-agent@sha256:9774f4f39a9bb8c2f68ce728ed5e99ddbad282163be56764afacf88ed952b784 command: [gateway, run] restart: "no" environment: HERMES_HOME: /opt/data # Existing credentials/config stay in the preserved volume; no replacement config. volumes: - canina_hermes_data:/opt/data networks: [hermes_backend] # Deliberately no published ports, Docker socket, host filesystem or public labels. security_opt: [no-new-privileges:true] cap_drop: [ALL] pids_limit: 256 mem_limit: 2g volumes: canina_hermes_data: external: true name: canina-hermes_canina_hermes_data networks: hermes_backend: external: true name: canina_hermes_backend