mirror of
https://github.com/domfelipe/hermes-agent-custom.git
synced 2026-08-07 06:16:39 +00:00
Update entrypoint.sh
This commit is contained in:
parent
ff8270250b
commit
27df58ca0e
1 changed files with 3 additions and 3 deletions
|
|
@ -1,14 +1,14 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# ============================================================
|
# ===========================================================
|
||||||
# Hermes Fork Entrypoint — Reverse Proxy Strategy
|
# Hermes Fork Entrypoint — Reverse Proxy Strategy
|
||||||
# ============================================================
|
# ===========================================================
|
||||||
# 1) Hermes original roda em 127.0.0.1:8000 (interno)
|
# 1) Hermes original roda em 127.0.0.1:8000 (interno)
|
||||||
# 2) skills_api.py roda em 0.0.0.0:$PORT (público)
|
# 2) skills_api.py roda em 0.0.0.0:$PORT (público)
|
||||||
# - intercepta /api/skills/*
|
# - intercepta /api/skills/*
|
||||||
# - proxy todo o resto para o Hermes
|
# - proxy todo o resto para o Hermes
|
||||||
# ============================================================
|
# ===========================================================
|
||||||
|
|
||||||
# Suspensão (mantém compatibilidade com a flag HERMES_SUSPENDED)
|
# Suspensão (mantém compatibilidade com a flag HERMES_SUSPENDED)
|
||||||
if [ "$HERMES_SUSPENDED" = "true" ]; then
|
if [ "$HERMES_SUSPENDED" = "true" ]; then
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue