1
0

worker.yaml.j2 532 B

12345678910111213141516171819202122
  1. # This is a configuration template for a single worker instance, and is
  2. # used by Dockerfile-workers.
  3. # Values will be change depending on whichever workers are selected when
  4. # running that image.
  5. worker_app: "{{ app }}"
  6. worker_name: "{{ name }}"
  7. worker_listeners:
  8. - type: http
  9. port: {{ port }}
  10. {% if listener_resources %}
  11. resources:
  12. - names:
  13. {%- for resource in listener_resources %}
  14. - {{ resource }}
  15. {%- endfor %}
  16. {% endif %}
  17. worker_log_config: {{ worker_log_config_filepath }}
  18. {{ worker_extra_conf }}