Sign inSign up

heywoodlh/hermes-agent

By heywoodlh

•Updated 5 days ago

Community build of hermes-agent

Image
Machine learning & AI
0

4.2K

heywoodlh/hermes-agent repository overview

A Hermes Agent⁠ image with the following features:

  • hermes-agent installation at /opt/hermes
  • TTYD for web-based shell interaction
  • Nix installed
  • Running as unprivileged nix user
  • Podman installed and configured for rootless use for nix user
  • Supervisord installed and configured to be extended (i.e. add new service definitions to /etc/supervisord/conf.d/*.conf)

Dockerfile and build resources are here: https://github.com/heywoodlh/dockerfiles/tree/master/hermes-agent⁠

GitHub Action to build this on a recurring basis: https://github.com/heywoodlh/actions/blob/master/.github/workflows/hermes-agent.yml⁠

⁠Deployment

Example docker-compose.yml:

services:
  hermes-agent:
    image: docker.io/heywoodlh/hermes-agent:latest
    ports:
      - "8080:8080"
    restart: unless-stopped
    volumes:
      - ./nix:/nix
      - ./home:/home/nix
      - ./supervisord-custom:/etc/supervisor/conf.d
    #environment:
    #  - HTTP_AUTH_USERNAME=admin
    #  - HTTP_AUTH_PASSWORD=

⁠Basic Auth

Optional HTTP basic auth can be enabled by setting both environment variables:

VariableDefaultDescription
HTTP_AUTH_USERNAMEadminUsername for basic auth
HTTP_AUTH_PASSWORD(empty)Password for basic auth — auth is disabled if this is empty

When HTTP_AUTH_PASSWORD is set to a non-empty value, ttyd will use basic auth

Tag summary

Content type

Image

Digest

sha256:cf7a5c1a1…

Size

1.2 GB

Last updated

5 days ago

docker pull heywoodlh/hermes-agent