prometheus: add extra hosts parameter
This commit is contained in:
parent
0a932540fa
commit
8ecfb90707
|
|
@ -12,6 +12,9 @@ services:
|
|||
restart: unless-stopped
|
||||
ports:
|
||||
- "{{ prometheus__port }}:9090"
|
||||
{% if prometheus is defined and prometheus.docker is defined %}
|
||||
extra_hosts: {{ prometheus.docker.extra_hosts | default([]) | to_json }}
|
||||
{% endif %}
|
||||
logging:
|
||||
driver: "json-file"
|
||||
options:
|
||||
|
|
|
|||
Loading…
Reference in New Issue