fix: s6-overlay entrypoint crash — replace broken bash→tini→entrypoint.sh chain #56
@@ -6,19 +6,19 @@ services:
|
|||||||
ssh:
|
ssh:
|
||||||
- default
|
- default
|
||||||
container_name: hermes
|
container_name: hermes
|
||||||
entrypoint: ["/bin/bash", "-c",
|
|
||||||
"bash /usr/local/bin/run-multi-gateways.sh && exec /usr/bin/tini -g -- /opt/hermes/docker/entrypoint.sh \"$@\"",
|
|
||||||
"hermes-entrypoint"]
|
|
||||||
restart: always
|
restart: always
|
||||||
# Gateway run enables the internal API server on port 8642
|
# Use the image default ENTRYPOINT ["/init", "/opt/hermes/docker/main-wrapper.sh"]
|
||||||
command: gateway run
|
# 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: ["/opt/data/start-hermes.sh"]
|
||||||
environment:
|
environment:
|
||||||
- HERMES_UID=10000
|
- HERMES_UID=10000
|
||||||
- HERMES_GID=10000
|
- HERMES_GID=10000
|
||||||
- OLLAMA_HOST=http://ollama:11434
|
- OLLAMA_HOST=http://ollama:11434
|
||||||
- HERMES_DASHBOARD=1
|
- HERMES_DASHBOARD=1
|
||||||
# Multi-profile: comma-separated list of profiles to run as gateways.
|
# Multi-profile: comma-separated list of profiles to run as gateways.
|
||||||
# The entrypoint reads this and starts one gateway per profile.
|
# start-hermes.sh reads this and starts one gateway per profile.
|
||||||
# Add profiles here when they exist on disk (e.g. default,researcher,writer)
|
# Add profiles here when they exist on disk (e.g. default,researcher,writer)
|
||||||
- HERMES_PROFILES=ashley,claire,finn,matt,paul
|
- HERMES_PROFILES=ashley,claire,finn,matt,paul
|
||||||
- API_SERVER_ENABLED=true
|
- API_SERVER_ENABLED=true
|
||||||
|
|||||||
Reference in New Issue
Block a user