docker-traefik icon indicating copy to clipboard operation
docker-traefik copied to clipboard

env in rule.yml

Open ahmaddxb opened this issue 3 years ago • 1 comments

Error in vscode image

Before

http:
  routers:
    ha-rtr:
      rule: "Host(`ha.{{env "DOMAINNAME0"}}`)"

After

http:
  routers:
    ha-rtr:
      rule: "Host(`ha.{{env `DOMAINNAME0`}}`)"

ahmaddxb avatar Jun 24 '22 09:06 ahmaddxb

http:
  routers:
    ha-rtr:
      rule: 'Host(`ha.{{env "DOMAINNAME0"}}`)'

loryncien avatar Jun 01 '23 04:06 loryncien