separate config generation from process startup in supervisord

Extract config generation (planoai.config_generator + envsubst) into its own
supervisord program that runs first. Brightstaff and envoy wait for a sentinel
file before starting. If any critical process exits, supervisord is terminated
so the container restarts cleanly.

Made-with: Cursor
This commit is contained in:
Adil Hafeez 2026-03-19 22:18:10 -07:00
parent cdad02c5ee
commit 9cd764fc3e
2 changed files with 29 additions and 9 deletions

View file

@ -50,7 +50,7 @@ FROM python:3.14-slim AS arch
RUN set -eux; \
apt-get update; \
apt-get upgrade -y; \
apt-get install -y --no-install-recommends gettext-base curl; \
apt-get install -y --no-install-recommends gettext-base curl procps; \
apt-get clean; rm -rf /var/lib/apt/lists/*
RUN pip install --no-cache-dir supervisor