Created
April 10, 2020 06:14
-
-
Save kgrvamsi/16ab5656c3941b9c4e765cdbdf1af5ab to your computer and use it in GitHub Desktop.
Revisions
-
Chuck Knox created this gist
Jun 7, 2016 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,36 @@ traefik: image: traefik command: --web --docker --docker.watch --docker.domain=localhost --logLevel=DEBUG --entryPoints="Name:http Address::80" ports: - "80:80" - "8080:8080" volumes: - /var/run/docker.sock:/var/run/docker.sock - /dev/null:/traefik.toml nginx1: image: nginx labels: - "traefik.backend=nginx1" - "traefik.frontend.rule=PathStrip: /nginx1" - "traefik.port=80" - "traefix.port=443" - "traefik.frontend.entryPoints=http" nginx2: image: nginx labels: - "traefik.backend=nginx2" - "traefik.frontend.rule=PathStrip: /nginx2" - "traefik.port=80" - "traefix.port=443" - "traefik.frontend.entryPoints=http" nginx3: image: nginx labels: - "traefik.backend=nginx3" - "traefik.frontend.rule=PathStrip: /nginx3" - "traefik.port=80" - "traefix.port=443" - "traefik.frontend.entryPoints=http"