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:
@@ -63,11 +63,6 @@ PYEOF
|
||||
# Launches one gateway process per profile (HERMES_PROFILES env var)
|
||||
COPY --chmod=0755 run-multi-gateways.sh /usr/local/bin/run-multi-gateways.sh
|
||||
|
||||
# ---------- Install s6-overlay compatible startup script ----------
|
||||
# Runs as the CMD via s6-overlay's main-program model.
|
||||
# Replaces the old bash->tini->entrypoint.sh chain that caused SIGTERM crash loops.
|
||||
COPY --chmod=0755 start-hermes.sh /usr/local/bin/start-hermes.sh
|
||||
|
||||
# ---------- Runtime ----------
|
||||
USER hermes
|
||||
ENV HERMES_HOME=/opt/data
|
||||
|
||||
Reference in New Issue
Block a user