Remove the explicit enable of TLS in Traefik

Much cleaner config!
This commit is contained in:
Jake Howard 2020-05-08 22:16:24 +01:00
parent 19fc0c0957
commit bb5e489f8c
Signed by: jake
GPG key ID: 57AFB45680EDD477
17 changed files with 0 additions and 21 deletions

View file

@ -14,5 +14,4 @@ services:
labels: labels:
- "traefik.enable=true" - "traefik.enable=true"
- "traefik.http.routers.calibre.rule=Host(`calibre.jakehoward.tech`)" - "traefik.http.routers.calibre.rule=Host(`calibre.jakehoward.tech`)"
- "traefik.http.routers.calibre.tls=true"
- "traefik.http.routers.calibre.tls.certresolver=le" - "traefik.http.routers.calibre.tls.certresolver=le"

View file

@ -17,6 +17,5 @@ services:
labels: labels:
- "traefik.enable=true" - "traefik.enable=true"
- "traefik.http.routers.duplicati.rule=Host(`duplicati.jakehoward.tech`)" - "traefik.http.routers.duplicati.rule=Host(`duplicati.jakehoward.tech`)"
- "traefik.http.routers.duplicati.tls=true"
- "traefik.http.routers.duplicati.tls.certresolver=le" - "traefik.http.routers.duplicati.tls.certresolver=le"
- "traefik.http.routers.duplicati.middlewares=internal-only@file" - "traefik.http.routers.duplicati.middlewares=internal-only@file"

View file

@ -18,5 +18,4 @@ services:
labels: labels:
- "traefik.enable=true" - "traefik.enable=true"
- "traefik.http.routers.emby.rule=Host(`media.jakehoward.tech`)" - "traefik.http.routers.emby.rule=Host(`media.jakehoward.tech`)"
- "traefik.http.routers.emby.tls=true"
- "traefik.http.routers.emby.tls.certresolver=le" - "traefik.http.routers.emby.tls.certresolver=le"

View file

@ -11,7 +11,6 @@ services:
labels: labels:
- "traefik.enable=true" - "traefik.enable=true"
- "traefik.http.routers.gitea.rule=(Host(`git.theorangeone.net`) || Host(`git.0rng.one`))" - "traefik.http.routers.gitea.rule=(Host(`git.theorangeone.net`) || Host(`git.0rng.one`))"
- "traefik.http.routers.gitea.tls=true"
- "traefik.http.routers.gitea.tls.certresolver=le" - "traefik.http.routers.gitea.tls.certresolver=le"
- "traefik.http.services.gitea-gitea.loadbalancer.server.port=3000" - "traefik.http.services.gitea-gitea.loadbalancer.server.port=3000"
ports: ports:

View file

@ -11,5 +11,4 @@ services:
labels: labels:
- "traefik.enable=true" - "traefik.enable=true"
- "traefik.http.routers.gotify.rule=Host(`gotify.jakehoward.tech`)" - "traefik.http.routers.gotify.rule=Host(`gotify.jakehoward.tech`)"
- "traefik.http.routers.gotify.tls=true"
- "traefik.http.routers.gotify.tls.certresolver=le" - "traefik.http.routers.gotify.tls.certresolver=le"

View file

@ -13,7 +13,6 @@ services:
labels: labels:
- "traefik.enable=true" - "traefik.enable=true"
- "traefik.http.routers.librespeed.rule=Host(`speed.jakehoward.tech`)" - "traefik.http.routers.librespeed.rule=Host(`speed.jakehoward.tech`)"
- "traefik.http.routers.librespeed.tls=true"
- "traefik.http.routers.librespeed.tls.certresolver=le" - "traefik.http.routers.librespeed.tls.certresolver=le"
- "traefik.http.routers.librespeed.middlewares=librespeed-auth@docker" - "traefik.http.routers.librespeed.middlewares=librespeed-auth@docker"
- "traefik.http.middlewares.librespeed-auth.basicauth.users={{ librespeed_basicauth }}" - "traefik.http.middlewares.librespeed-auth.basicauth.users={{ librespeed_basicauth }}"

View file

@ -21,7 +21,6 @@ services:
labels: labels:
- "traefik.enable=true" - "traefik.enable=true"
- "traefik.http.routers.nextcloud.rule=Host(`intersect.jakehoward.tech`)" - "traefik.http.routers.nextcloud.rule=Host(`intersect.jakehoward.tech`)"
- "traefik.http.routers.nextcloud.tls=true"
- "traefik.http.routers.nextcloud.tls.certresolver=le" - "traefik.http.routers.nextcloud.tls.certresolver=le"
db: db:
@ -64,7 +63,6 @@ services:
labels: labels:
- "traefik.enable=true" - "traefik.enable=true"
- "traefik.http.routers.onlyoffice.rule=Host(`onlyoffice.jakehoward.tech`)" - "traefik.http.routers.onlyoffice.rule=Host(`onlyoffice.jakehoward.tech`)"
- "traefik.http.routers.onlyoffice.tls=true"
- "traefik.http.routers.onlyoffice.tls.certresolver=le" - "traefik.http.routers.onlyoffice.tls.certresolver=le"
- "traefik.http.routers.onlyoffice.middlewares=oo-header" - "traefik.http.routers.onlyoffice.middlewares=oo-header"
- "traefik.http.middlewares.oo-header.headers.customRequestHeaders.X-Forwarded-Proto=https" - "traefik.http.middlewares.oo-header.headers.customRequestHeaders.X-Forwarded-Proto=https"

View file

@ -17,7 +17,6 @@ services:
labels: labels:
- "traefik.enable=true" - "traefik.enable=true"
- "traefik.http.routers.pihole.rule=Host(`pihole.jakehoward.tech`)" - "traefik.http.routers.pihole.rule=Host(`pihole.jakehoward.tech`)"
- "traefik.http.routers.pihole.tls=true"
- "traefik.http.routers.pihole.tls.certresolver=le" - "traefik.http.routers.pihole.tls.certresolver=le"
- "traefik.http.routers.pihole.middlewares=internal-only@file" - "traefik.http.routers.pihole.middlewares=internal-only@file"
- "traefik.http.services.pihole-pihole.loadbalancer.server.port=80" - "traefik.http.services.pihole-pihole.loadbalancer.server.port=80"

View file

@ -18,7 +18,6 @@ services:
labels: labels:
- "traefik.enable=true" - "traefik.enable=true"
- "traefik.http.routers.synapse.rule=Host(`matrix.jakehoward.tech`)" - "traefik.http.routers.synapse.rule=Host(`matrix.jakehoward.tech`)"
- "traefik.http.routers.synapse.tls=true"
- "traefik.http.routers.synapse.tls.certresolver=le" - "traefik.http.routers.synapse.tls.certresolver=le"
- "traefik.http.routers.synapse.entrypoints=web-secure,matrix" - "traefik.http.routers.synapse.entrypoints=web-secure,matrix"

View file

@ -17,7 +17,6 @@ services:
labels: labels:
- "traefik.enable=true" - "traefik.enable=true"
- "traefik.http.routers.deluge.rule=Host(`deluge.jakehoward.tech`)" - "traefik.http.routers.deluge.rule=Host(`deluge.jakehoward.tech`)"
- "traefik.http.routers.deluge.tls=true"
- "traefik.http.routers.deluge.tls.certresolver=le" - "traefik.http.routers.deluge.tls.certresolver=le"
- "traefik.http.routers.deluge.middlewares=internal-only@file" - "traefik.http.routers.deluge.middlewares=internal-only@file"

View file

@ -14,7 +14,6 @@ services:
labels: labels:
- "traefik.enable=true" - "traefik.enable=true"
- "traefik.http.routers.tt-rss.rule=Host(`tt-rss.jakehoward.tech`)" - "traefik.http.routers.tt-rss.rule=Host(`tt-rss.jakehoward.tech`)"
- "traefik.http.routers.tt-rss.tls=true"
- "traefik.http.routers.tt-rss.tls.certresolver=le" - "traefik.http.routers.tt-rss.tls.certresolver=le"
db: db:

View file

@ -14,7 +14,6 @@ services:
labels: labels:
- "traefik.enable=true" - "traefik.enable=true"
- "traefik.http.routers.wallabag.rule=Host(`wallabag.jakehoward.tech`)" - "traefik.http.routers.wallabag.rule=Host(`wallabag.jakehoward.tech`)"
- "traefik.http.routers.wallabag.tls=true"
- "traefik.http.routers.wallabag.tls.certresolver=le" - "traefik.http.routers.wallabag.tls.certresolver=le"
redis: redis:

View file

@ -8,5 +8,4 @@ services:
labels: labels:
- "traefik.enable=true" - "traefik.enable=true"
- "traefik.http.routers.whoami.rule=Host(`whoami.theorangeone.net`) || Host(`who.0rng.one`)" - "traefik.http.routers.whoami.rule=Host(`whoami.theorangeone.net`) || Host(`who.0rng.one`)"
- "traefik.http.routers.whoami.tls=true"
- "traefik.http.routers.whoami.tls.certresolver=le" - "traefik.http.routers.whoami.tls.certresolver=le"

View file

@ -18,7 +18,6 @@ services:
labels: labels:
- "traefik.enable=true" - "traefik.enable=true"
- "traefik.http.routers.yourls.rule=Host(`0rng.one`)" - "traefik.http.routers.yourls.rule=Host(`0rng.one`)"
- "traefik.http.routers.yourls.tls=true"
- "traefik.http.routers.yourls.tls.certresolver=le" - "traefik.http.routers.yourls.tls.certresolver=le"
mysql: mysql:

View file

@ -10,7 +10,6 @@ services:
labels: labels:
- "traefik.enable=true" - "traefik.enable=true"
- "traefik.http.routers.statping.rule=Host(`stats.theorangeone.net`)" - "traefik.http.routers.statping.rule=Host(`stats.theorangeone.net`)"
- "traefik.http.routers.statping.tls=true"
- "traefik.http.routers.statping.tls.certresolver=le" - "traefik.http.routers.statping.tls.certresolver=le"
db: db:

View file

@ -13,7 +13,6 @@ services:
labels: labels:
- "traefik.enable=true" - "traefik.enable=true"
- "traefik.http.routers.upload.rule=Host(`upload.theorangeone.net`)" - "traefik.http.routers.upload.rule=Host(`upload.theorangeone.net`)"
- "traefik.http.routers.upload.tls=true"
- "traefik.http.routers.upload.tls.certresolver=le" - "traefik.http.routers.upload.tls.certresolver=le"
img: img:
@ -24,7 +23,6 @@ services:
labels: labels:
- "traefik.enable=true" - "traefik.enable=true"
- "traefik.http.routers.img.rule=Host(`img.theorangeone.net`) || Host(`img.0rng.one`)" - "traefik.http.routers.img.rule=Host(`img.theorangeone.net`) || Host(`img.0rng.one`)"
- "traefik.http.routers.img.tls=true"
- "traefik.http.routers.img.tls.certresolver=le" - "traefik.http.routers.img.tls.certresolver=le"
bg: bg:
@ -35,7 +33,6 @@ services:
labels: labels:
- "traefik.enable=true" - "traefik.enable=true"
- "traefik.http.routers.bg.rule=Host(`bg.theorangeone.net`)" - "traefik.http.routers.bg.rule=Host(`bg.theorangeone.net`)"
- "traefik.http.routers.bg.tls=true"
- "traefik.http.routers.bg.tls.certresolver=le" - "traefik.http.routers.bg.tls.certresolver=le"
dl: dl:
@ -46,5 +43,4 @@ services:
labels: labels:
- "traefik.enable=true" - "traefik.enable=true"
- "traefik.http.routers.dl.rule=Host(`dl.theorangeone.net`) || Host(`dl.0rng.one`)" - "traefik.http.routers.dl.rule=Host(`dl.theorangeone.net`) || Host(`dl.0rng.one`)"
- "traefik.http.routers.dl.tls=true"
- "traefik.http.routers.dl.tls.certresolver=le" - "traefik.http.routers.dl.tls.certresolver=le"

View file

@ -12,7 +12,6 @@ services:
labels: labels:
- "traefik.enable=true" - "traefik.enable=true"
- "traefik.http.routers.website.rule=Host(`theorangeone.net`) || Host(`www.theorangeone.net`)" - "traefik.http.routers.website.rule=Host(`theorangeone.net`) || Host(`www.theorangeone.net`)"
- "traefik.http.routers.website.tls=true"
- "traefik.http.routers.website.tls.certresolver=le" - "traefik.http.routers.website.tls.certresolver=le"
stats: stats: