name: hermes-stack
services:
    honcho-db:
        image: pgvector/pgvector:pg15
        container_name: honcho-db
        restart: unless-stopped
        ports:
            - "127.0.0.1:5433:5432"
        environment:
            POSTGRES_DB: postgres
            POSTGRES_USER: postgres
            POSTGRES_PASSWORD: postgres
        volumes:
            - /DATA/AppData/hermes-stack/data/postgres:/var/lib/postgresql/data
        healthcheck:
            test: ["CMD-SHELL", "pg_isready -U postgres"]
            interval: 30s
            timeout: 5s
            retries: 5
    honcho-redis:
        image: redis:8.2
        container_name: honcho-redis
        restart: unless-stopped
        ports:
            - "127.0.0.1:6380:6379"
        volumes:
            - /DATA/AppData/hermes-stack/data/redis:/data
        healthcheck:
            test: ["CMD", "redis-cli", "ping"]
            interval: 30s
            timeout: 5s
            retries: 5
x-casaos:
    architectures:
        - amd64
    main: honcho-db
    author: self
    category: self
    description:
        de_de: "Hermes Agent Backend (Honcho Postgres + Redis)"
        en_us: "Hermes Agent Backend (Honcho Postgres + Redis)"
    developer: self
    hostname: 127.0.0.1
    icon: https://cdn.jsdelivr.net/gh/selfhst/icons/svg/postgres.svg
    index: /
    is_uncontrolled: true
    port_map: "5433"
    scheme: http
    store_app_id: hermes-stack
    tagline:
        de_de: "Memory-Backend für Hermes"
        en_us: "Memory backend for Hermes"
    title:
        de_de: "Hermes Stack"
        en_us: "Hermes Stack"
