Skip to content

Instantly share code, notes, and snippets.

@ohnotnow
Created October 17, 2019 16:02
Show Gist options
  • Save ohnotnow/05ec516154f8c4a90fc9f168faac6d3f to your computer and use it in GitHub Desktop.
Save ohnotnow/05ec516154f8c4a90fc9f168faac6d3f to your computer and use it in GitHub Desktop.
Traefik labels for v1.7
labels:
- "traefik.backend=${TRAEFIK_BACKEND}"
- "traefik.docker.network=proxy"
- "traefik.frontend.rule=Host:${TRAEFIK_HOSTNAME}"
- "traefik.enable=true"
- "traefik.port=80"
- "traefik.default.protocol=http"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment