mirror of
https://github.com/Dokploy/templates.git
synced 2026-07-08 15:35:24 +02:00
Hermes is an open agent runtime from Nous Research. This template runs the supervised gateway with: - web dashboard (9119) behind Traefik, protected by the bundled basic-auth provider (auth-gated mode triggers automatically once reachable off-loopback); username admin, generated 128-char password - OpenAI-compatible gateway API (8642), enabled and bound to 0.0.0.0 with a generated bearer token (both off by default upstream) Image pinned to v2026.6.19. Provider keys are configured from the dashboard after deploy and persist in the hermes_data volume. Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
34 lines
1000 B
TOML
34 lines
1000 B
TOML
[variables]
|
|
dashboard_domain = "${domain}"
|
|
gateway_domain = "${domain}"
|
|
# base64 (not just alphanumeric); 96 bytes -> 128 chars
|
|
dashboard_password = "${base64:96}"
|
|
dashboard_secret = "${base64:32}"
|
|
api_key = "${password:32}"
|
|
|
|
[config]
|
|
mounts = []
|
|
|
|
# Web dashboard (HERMES_DASHBOARD=1). Exposed behind Traefik, so Hermes'
|
|
# auth-gated mode kicks in — protect it with the bundled basic-auth provider.
|
|
[[config.domains]]
|
|
serviceName = "hermes"
|
|
port = 9119
|
|
host = "${dashboard_domain}"
|
|
|
|
# OpenAI-compatible gateway API. Disabled and loopback-bound by default,
|
|
# so it must be enabled, bound to 0.0.0.0, and given a bearer token.
|
|
[[config.domains]]
|
|
serviceName = "hermes"
|
|
port = 8642
|
|
host = "${gateway_domain}"
|
|
|
|
[config.env]
|
|
HERMES_DASHBOARD = "1"
|
|
HERMES_DASHBOARD_BASIC_AUTH_USERNAME = "admin"
|
|
HERMES_DASHBOARD_BASIC_AUTH_PASSWORD = "${dashboard_password}"
|
|
HERMES_DASHBOARD_BASIC_AUTH_SECRET = "${dashboard_secret}"
|
|
API_SERVER_ENABLED = "true"
|
|
API_SERVER_HOST = "0.0.0.0"
|
|
API_SERVER_KEY = "${api_key}"
|