Some checks failed
Implements the full Bezalel Epic-002 deployment suite: - deploy/docker-compose.yml: Docker Compose stack for hermes-agent with healthcheck, named volume, resource limits, and log rotation. - deploy/docker-compose.override.yml.example: Local dev override template. - deploy/hermes-agent.service: systemd unit for headless CLI/agent. - deploy/hermes-gateway.service: systemd unit for messaging gateway with pre/post hooks for deploy audit logging. - scripts/deploy-validate: Dry-run pre-flight validator that checks .env completeness, LLM key presence, gateway runtime state, port conflicts, and secret hygiene. Exit code 1 on blocking errors. - DEPLOY.md: Full deployment runbook — bare OS to running Hermes in < 30 min, covering secret injection, health checks, zero-downtime restart (systemd reload + blue/green), rollback with data backup, and Docker Compose update procedure. - gateway/platforms/api_server.py: Enhanced /health endpoint to return meaningful status: version, uptime_seconds, gateway_state, and per- platform connection states sourced from gateway_state.json. Fixes #146 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
34 lines
961 B
Plaintext
34 lines
961 B
Plaintext
# docker-compose.override.yml.example
|
|
#
|
|
# Copy this file to docker-compose.override.yml and uncomment sections as needed.
|
|
# Override files are merged on top of docker-compose.yml automatically.
|
|
# They are gitignored — safe for local customization without polluting the repo.
|
|
|
|
services:
|
|
hermes:
|
|
# --- Local build (for development) ---
|
|
# build:
|
|
# context: ..
|
|
# dockerfile: ../Dockerfile
|
|
# target: development
|
|
|
|
# --- Expose gateway port externally (dev only — not for production) ---
|
|
# ports:
|
|
# - "8642:8642"
|
|
|
|
# --- Attach to a custom network shared with other local services ---
|
|
# networks:
|
|
# - myapp_network
|
|
|
|
# --- Override resource limits for a smaller VPS ---
|
|
# deploy:
|
|
# resources:
|
|
# limits:
|
|
# cpus: "0.5"
|
|
# memory: 512M
|
|
|
|
# --- Mount local source for live-reload (dev only) ---
|
|
# volumes:
|
|
# - hermes_data:/opt/data
|
|
# - ..:/opt/hermes:ro
|