Simplify: drop custom scripts, use native s6 multi-profile supervision
- Remove patch_tts_tool.py (orphaned) - Remove run-multi-gateways.sh (replaced by s6 native profile supervision) - Remove start-hermes.sh (overengineered — the image does this natively) - compose.yml: command: gateway run, drop HERMES_PROFILES env var - Dockerfile: revert start-hermes.sh COPY addition Per-profile gateways are now managed by s6-overlay natively: profiles with desired_state=running in gateway_state.json are auto-started by the s6 reconciler on boot.
This commit is contained in:
@@ -7,20 +7,13 @@ services:
|
||||
- default
|
||||
container_name: hermes
|
||||
restart: always
|
||||
# Use the image default ENTRYPOINT ["/init", "/opt/hermes/docker/main-wrapper.sh"]
|
||||
# for proper s6-overlay supervision. The CMD runs our multi-profile launcher
|
||||
# which spawns per-profile gateways in background, then the default gateway
|
||||
# in foreground (keeps the container alive).
|
||||
command: ["/usr/local/bin/start-hermes.sh"]
|
||||
# Gateway run enables the internal API server on port 8642
|
||||
command: gateway run
|
||||
environment:
|
||||
- HERMES_UID=10000
|
||||
- HERMES_GID=10000
|
||||
- OLLAMA_HOST=http://ollama-cpu:11434
|
||||
- HERMES_DASHBOARD=1
|
||||
# Multi-profile: comma-separated list of profiles to run as gateways.
|
||||
# start-hermes.sh reads this and starts one gateway per profile.
|
||||
# Add profiles here when they exist on disk (e.g. default,researcher,writer)
|
||||
- HERMES_PROFILES=ashley,claire,finn,matt,paul
|
||||
- API_SERVER_ENABLED=true
|
||||
- API_SERVER_PORT=8642
|
||||
- API_SERVER_HOST=0.0.0.0
|
||||
|
||||
Reference in New Issue
Block a user