I am having a tough time making sure that all of my settings are right. I know I need to migrate my labels in my docker compose file from v1 to v2, but there is no easy page that lists "this v1 label = this v2 label".
Here is an example of my v1 traefik labels on one of my containers:
- "traefik.enable=true"
- "traefik.backend=random"
- "traefik.frontend.rule=Host:random.test.com"
- "traefik.frontend.auth.forward.address=http://organizr/api/v2/auth?group=1"
- "traefik.port=8990"
- "traefik.docker.network=traefik_proxy"
- "traefik.frontend.headers.SSLRedirect=true"
- "traefik.frontend.headers.STSSeconds=315360000"
- "traefik.frontend.headers.browserXSSFilter=true"
- "traefik.frontend.headers.contentTypeNosniff=true"
- "traefik.frontend.headers.forceSTSHeader=true"
- "traefik.frontend.headers.SSLHost=example.com"
- "traefik.frontend.headers.STSIncludeSubdomains=true"
- "traefik.frontend.headers.STSPreload=true"
- "traefik.frontend.headers.frameDeny=false"
Here are the labels of my v1 traefik container directly:
- "traefik.enable=true"
- "traefik.backend=traefik"
- "traefik.frontend.rule=Host:traefik.${DOMAINNAME}"
- "traefik.frontend.auth.forward.address=http://organizr/api/v2/auth?group=1"
- "traefik.port=8080"
- "traefik.docker.network=traefik_proxy"
- "traefik.frontend.headers.SSLRedirect=true"
- "traefik.frontend.headers.STSSeconds=315360000"
- "traefik.frontend.headers.browserXSSFilter=true"
- "traefik.frontend.headers.contentTypeNosniff=true"
- "traefik.frontend.headers.forceSTSHeader=true"
- "traefik.frontend.headers.SSLHost=example.com"
- "traefik.frontend.headers.STSIncludeSubdomains=true"
- "traefik.frontend.headers.STSPreload=true"
- "traefik.frontend.headers.frameDeny=false"
- "traefik.frontend.auth.basic.users=${HTTP_USERNAME}:${HTTP_PASSWORD}"
Does anyone have an easy drop-in replacement for these? I feel like they're pretty straightforward but the docs don't give me an easy 1-to-1 for this.