mirror of
https://github.com/katanemo/plano.git
synced 2026-05-05 22:02:43 +02:00
remove Python from Docker: use Rust CLI for config generation
This commit is contained in:
parent
2e3744fd1a
commit
6cf0c4ff7b
5 changed files with 66 additions and 20 deletions
|
|
@ -4,7 +4,13 @@ pidfile=/var/run/supervisord.pid
|
|||
|
||||
[program:config_generator]
|
||||
command=/bin/sh -c "\
|
||||
uv run python -m planoai.config_generator && \
|
||||
PLANO_CONFIG_FILE=/app/plano_config.yaml \
|
||||
PLANO_CONFIG_SCHEMA_FILE=/config/plano_config_schema.yaml \
|
||||
TEMPLATE_ROOT=/config \
|
||||
ENVOY_CONFIG_TEMPLATE_FILE=envoy.template.yaml \
|
||||
PLANO_CONFIG_FILE_RENDERED=/app/plano_config_rendered.yaml \
|
||||
ENVOY_CONFIG_FILE_RENDERED=/etc/envoy/envoy.yaml \
|
||||
planoai render-config && \
|
||||
envsubst < /app/plano_config_rendered.yaml > /app/plano_config_rendered.env_sub.yaml && \
|
||||
envsubst < /etc/envoy/envoy.yaml > /etc/envoy.env_sub.yaml && \
|
||||
touch /tmp/config_ready || \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue