service-configs-v1.j2 517 B

1234567891011121314151617181920
  1. {#
  2. Archetype: service-configs-v1
  3. Description:
  4. Swarm configs reference for configuration files.
  5. Approach:
  6. - Only applies to swarm mode
  7. - References configs defined in top-level configs section
  8. - Configs mounted at specified target path
  9. Usage:
  10. Use for application configuration files in swarm.
  11. Requires corresponding toplevel-configs-v1 archetype.
  12. #}
  13. {% if swarm_enabled %}
  14. configs:
  15. - source: {{ config_name }}
  16. target: /etc/app/config.yaml
  17. {% endif %}