mirror of
https://github.com/logos-blockchain/logos-blockchain-testing.git
synced 2026-01-02 21:33:07 +00:00
Deployers no longer provision Prometheus/Grafana; metrics query/ingest now come from explicit URLs via env/flags.
63 lines
1.4 KiB
Plaintext
63 lines
1.4 KiB
Plaintext
services:
|
|
{% for node in validators %}
|
|
{{ node.name }}:
|
|
image: {{ node.image }}
|
|
{% if node.platform %} platform: {{ node.platform }}
|
|
{% endif %} entrypoint: {{ node.entrypoint }}
|
|
volumes:
|
|
{% for volume in node.volumes %}
|
|
- {{ volume }}
|
|
{% endfor %}
|
|
{% if node.extra_hosts | length > 0 %}
|
|
extra_hosts:
|
|
{% for host in node.extra_hosts %}
|
|
- {{ host }}
|
|
{% endfor %}
|
|
{% endif %}
|
|
ports:
|
|
{% for port in node.ports %}
|
|
- {{ port }}
|
|
{% endfor %}
|
|
environment:
|
|
{% for env in node.environment %}
|
|
{{ env.key }}: "{{ env.value }}"
|
|
{% endfor %}
|
|
cap_add:
|
|
- SYS_ADMIN
|
|
- SYS_PTRACE
|
|
security_opt:
|
|
- seccomp=unconfined
|
|
restart: on-failure
|
|
|
|
{% endfor %}{% for node in executors %}
|
|
{{ node.name }}:
|
|
image: {{ node.image }}
|
|
{% if node.platform %} platform: {{ node.platform }}
|
|
{% endif %} entrypoint: {{ node.entrypoint }}
|
|
volumes:
|
|
{% for volume in node.volumes %}
|
|
- {{ volume }}
|
|
{% endfor %}
|
|
{% if node.extra_hosts | length > 0 %}
|
|
extra_hosts:
|
|
{% for host in node.extra_hosts %}
|
|
- {{ host }}
|
|
{% endfor %}
|
|
{% endif %}
|
|
ports:
|
|
{% for port in node.ports %}
|
|
- {{ port }}
|
|
{% endfor %}
|
|
environment:
|
|
{% for env in node.environment %}
|
|
{{ env.key }}: "{{ env.value }}"
|
|
{% endfor %}
|
|
cap_add:
|
|
- SYS_ADMIN
|
|
- SYS_PTRACE
|
|
security_opt:
|
|
- seccomp=unconfined
|
|
restart: on-failure
|
|
|
|
{% endfor %}
|