yt-dlp-dags/airflow/docker-compose.config-generate.yaml
2025-08-26 18:00:55 +03:00

15 lines
578 B
YAML

# This file is used to generate the necessary configuration files for the main application stack.
# It should be run as a one-off command before starting the main services.
# Example: docker-compose -f airflow/docker-compose.config-generate.yaml run --rm config-generator
services:
config-generator:
image: python:3.12-slim
working_dir: /app
env_file:
- ./.env
volumes:
# Mount the entire airflow directory to access scripts and write output files
- ./:/app
command: >
sh -c "pip install jinja2 && python3 generate_envoy_config.py"