14 lines
328 B
YAML
14 lines
328 B
YAML
version: '3.8'
|
|
|
|
services:
|
|
config-generator:
|
|
image: python:3.12-slim
|
|
working_dir: /app
|
|
env_file:
|
|
- ./.env
|
|
volumes:
|
|
# Mount the entire project directory to access scripts and write output files
|
|
- ../:/app
|
|
command: >
|
|
sh -c "pip install jinja2 && python3 /app/generate_envoy_config.py"
|