configs-v1.j2 463 B

1234567891011121314151617181920
  1. {#
  2. Archetype: toplevel-configs-v1
  3. Description:
  4. Swarm configs definition from file source.
  5. Approach:
  6. - Only applies to swarm mode
  7. - Reads config from file at deploy time
  8. - Configs are immutable once created
  9. Usage:
  10. Use with service-configs-v1 for configuration file management.
  11. Create configuration file before deploying stack.
  12. #}
  13. {% if swarm_enabled %}
  14. configs:
  15. {{ config_name }}:
  16. file: ./config/app.yaml
  17. {% endif %}