entryPoints: http: address: ":80" {% if with_https == 'yes' %} https: address: ":443" {% endif %} log: level: {{ log_level }} {% if with_dashboard == 'yes' %} api: dashboard: true insecure: true {% endif %} providers: docker: network: "web" endpoint: "unix:///var/run/docker.sock" {% if with_https == 'yes' %} certificatesResolvers: letsencrypt: acme: email: "{{ acme_email }}" storage = "acme.json" httpChallenge: entryPoint: "http" {% endif %}