Set default network in traefik command

This commit is contained in:
Florian Zirker 2021-03-18 16:15:52 +01:00
parent be737857bf
commit 2f65b0886e
5 changed files with 2 additions and 6 deletions

View file

@ -20,7 +20,6 @@ services:
- "traefik.http.routers.gitea.tls.certresolver=myresolver"
- "traefik.http.routers.gitea.tls.options=intermediate@file"
- "traefik.http.services.gitea.loadbalancer.server.port=3000"
- "traefik.docker.network=web"
- "docker.group=gitea"
depends_on:
- db

View file

@ -19,7 +19,6 @@ services:
- "traefik.http.routers.nextcloud.entrypoints=websecure"
- "traefik.http.routers.nextcloud.tls.certresolver=myresolver"
- "traefik.http.routers.nextcloud.tls.options=intermediate@file"
- "traefik.docker.network=web"
- "traefik.http.middlewares.nextcloudHeader.headers.customRequestHeaders.X-Forwarded-Proto=https"
- "traefik.http.middlewares.nextcloudHeader.headers.stsSeconds=15552000"
- "traefik.http.middlewares.nextcloudHeader.headers.stsIncludeSubdomains=true"
@ -95,7 +94,6 @@ services:
- "traefik.http.routers.office.entrypoints=websecure"
- "traefik.http.routers.office.tls.certresolver=myresolver"
- "traefik.http.routers.office.tls.options=intermediate@file"
- "traefik.docker.network=web"
- "traefik.http.middlewares.officeHeader.headers.customRequestHeaders.X-Forwarded-Proto=https"
- "traefik.http.middlewares.officeHeader.headers.stsSeconds=15552000"
- "traefik.http.middlewares.officeHeader.headers.stsIncludeSubdomains=true"

View file

@ -10,6 +10,7 @@ services:
- "--api.dashboard=true"
- "--providers.docker=true"
- "--providers.docker.exposedbydefault=false"
- "--providers.docker.network=web"
#- "--log.level=DEBUG"
- "--entrypoints.web.address=:80"
- "--entrypoints.web.http.redirections.entrypoint.to=websecure"
@ -38,7 +39,6 @@ services:
- "traefik.http.routers.dashboard.tls.options=intermediate@file"
- "traefik.http.routers.dashboard.middlewares=auth"
- "traefik.http.middlewares.auth.basicauth.users=${HTPASSWD}"
- "traefik.docker.network=web"
- "docker.group=web"

View file

@ -28,7 +28,6 @@ services:
- "traefik.http.routers.wallabag.entrypoints=websecure"
- "traefik.http.routers.wallabag.tls.certresolver=myresolver"
- "traefik.http.routers.wallabag.tls.options=intermediate@file"
- "traefik.docker.network=web"
- "docker.group=wallabag"
depends_on:
- db

View file

@ -15,7 +15,7 @@ services:
- "traefik.http.routers.web-secure.rule=Host(`${DOMAIN}`) || Host(`www.${DOMAIN}`)"
- "traefik.http.routers.web-secure.tls.certresolver=myresolver"
- "traefik.http.routers.web-secure.tls.options=intermediate@file"
- "traefik.docker.network=web"
- "docker.group=www"
networks: