blob: 9ae5c005ff973fb98e6c85a1c197c3c0a4918222 [file] [log] [blame]
{%- from "docker/map.jinja" import host with context -%}
[Service]
{%- if host.proxy.get('http') %}
Environment="HTTP_PROXY={{ host.proxy.http }}"
{%- endif -%}
{%- if host.proxy.get('https') %}
Environment="HTTPS_PROXY={{ host.proxy.https }}"
{%- endif -%}
{%- if host.proxy.get('no_proxy') %}
Environment="NO_PROXY={{ host.proxy.no_proxy|join(',') }}"
{%- endif -%}