From 7321b0e3111fbde89e3b1abe51f2756a8733a24b Mon Sep 17 00:00:00 2001 From: 7000pctAUTO Date: Sun, 1 Feb 2026 20:49:04 +0000 Subject: [PATCH] Initial upload with full project structure --- app/examples/complex.yaml | 44 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 app/examples/complex.yaml diff --git a/app/examples/complex.yaml b/app/examples/complex.yaml new file mode 100644 index 0000000..eb8ddf1 --- /dev/null +++ b/app/examples/complex.yaml @@ -0,0 +1,44 @@ +app_name: {{APP_NAME}} +environment: {{environment}} + +{% if environment == "prod" %} +production_mode: true +{% endif %} + +database: + host: {{DB_HOST}} + port: {{DB_PORT}} + password: {{env.DB_PASSWORD}} + ssl: true + +api: + host: {{API_HOST}} + port: {{API_PORT}} + api_key: {{vault.SECRET_API_KEY}} + timeout: {{API_TIMEOUT}} + +logging: + level: {{LOG_LEVEL}} + format: "{{LOG_FORMAT}}" + secret_token: {{env.SECRET_LOG_TOKEN}} + +features: +{% for feature in FEATURES %} + - name: {{feature.name}} + enabled: {{feature.enabled}} +{% endfor %} + +services: +{% for service in SERVICES %} + - name: {{service.name}} + host: {{service.host}} + port: {{service.port}} + replicas: {{service.replicas | default(1)}} +{% endfor %} + +{% if USE_METRICS %} +metrics: + enabled: true + endpoint: {{METRICS_ENDPOINT}} + auth_token: {{env.METRICS_TOKEN}} +{% endif %}