Set default network in traefik command
This commit is contained in:
parent
be737857bf
commit
2f65b0886e
5 changed files with 2 additions and 6 deletions
|
@ -20,7 +20,6 @@ services:
|
||||||
- "traefik.http.routers.gitea.tls.certresolver=myresolver"
|
- "traefik.http.routers.gitea.tls.certresolver=myresolver"
|
||||||
- "traefik.http.routers.gitea.tls.options=intermediate@file"
|
- "traefik.http.routers.gitea.tls.options=intermediate@file"
|
||||||
- "traefik.http.services.gitea.loadbalancer.server.port=3000"
|
- "traefik.http.services.gitea.loadbalancer.server.port=3000"
|
||||||
- "traefik.docker.network=web"
|
|
||||||
- "docker.group=gitea"
|
- "docker.group=gitea"
|
||||||
depends_on:
|
depends_on:
|
||||||
- db
|
- db
|
||||||
|
|
|
@ -19,7 +19,6 @@ services:
|
||||||
- "traefik.http.routers.nextcloud.entrypoints=websecure"
|
- "traefik.http.routers.nextcloud.entrypoints=websecure"
|
||||||
- "traefik.http.routers.nextcloud.tls.certresolver=myresolver"
|
- "traefik.http.routers.nextcloud.tls.certresolver=myresolver"
|
||||||
- "traefik.http.routers.nextcloud.tls.options=intermediate@file"
|
- "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.customRequestHeaders.X-Forwarded-Proto=https"
|
||||||
- "traefik.http.middlewares.nextcloudHeader.headers.stsSeconds=15552000"
|
- "traefik.http.middlewares.nextcloudHeader.headers.stsSeconds=15552000"
|
||||||
- "traefik.http.middlewares.nextcloudHeader.headers.stsIncludeSubdomains=true"
|
- "traefik.http.middlewares.nextcloudHeader.headers.stsIncludeSubdomains=true"
|
||||||
|
@ -95,7 +94,6 @@ services:
|
||||||
- "traefik.http.routers.office.entrypoints=websecure"
|
- "traefik.http.routers.office.entrypoints=websecure"
|
||||||
- "traefik.http.routers.office.tls.certresolver=myresolver"
|
- "traefik.http.routers.office.tls.certresolver=myresolver"
|
||||||
- "traefik.http.routers.office.tls.options=intermediate@file"
|
- "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.customRequestHeaders.X-Forwarded-Proto=https"
|
||||||
- "traefik.http.middlewares.officeHeader.headers.stsSeconds=15552000"
|
- "traefik.http.middlewares.officeHeader.headers.stsSeconds=15552000"
|
||||||
- "traefik.http.middlewares.officeHeader.headers.stsIncludeSubdomains=true"
|
- "traefik.http.middlewares.officeHeader.headers.stsIncludeSubdomains=true"
|
||||||
|
|
|
@ -10,6 +10,7 @@ services:
|
||||||
- "--api.dashboard=true"
|
- "--api.dashboard=true"
|
||||||
- "--providers.docker=true"
|
- "--providers.docker=true"
|
||||||
- "--providers.docker.exposedbydefault=false"
|
- "--providers.docker.exposedbydefault=false"
|
||||||
|
- "--providers.docker.network=web"
|
||||||
#- "--log.level=DEBUG"
|
#- "--log.level=DEBUG"
|
||||||
- "--entrypoints.web.address=:80"
|
- "--entrypoints.web.address=:80"
|
||||||
- "--entrypoints.web.http.redirections.entrypoint.to=websecure"
|
- "--entrypoints.web.http.redirections.entrypoint.to=websecure"
|
||||||
|
@ -38,7 +39,6 @@ services:
|
||||||
- "traefik.http.routers.dashboard.tls.options=intermediate@file"
|
- "traefik.http.routers.dashboard.tls.options=intermediate@file"
|
||||||
- "traefik.http.routers.dashboard.middlewares=auth"
|
- "traefik.http.routers.dashboard.middlewares=auth"
|
||||||
- "traefik.http.middlewares.auth.basicauth.users=${HTPASSWD}"
|
- "traefik.http.middlewares.auth.basicauth.users=${HTPASSWD}"
|
||||||
- "traefik.docker.network=web"
|
|
||||||
- "docker.group=web"
|
- "docker.group=web"
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -28,7 +28,6 @@ services:
|
||||||
- "traefik.http.routers.wallabag.entrypoints=websecure"
|
- "traefik.http.routers.wallabag.entrypoints=websecure"
|
||||||
- "traefik.http.routers.wallabag.tls.certresolver=myresolver"
|
- "traefik.http.routers.wallabag.tls.certresolver=myresolver"
|
||||||
- "traefik.http.routers.wallabag.tls.options=intermediate@file"
|
- "traefik.http.routers.wallabag.tls.options=intermediate@file"
|
||||||
- "traefik.docker.network=web"
|
|
||||||
- "docker.group=wallabag"
|
- "docker.group=wallabag"
|
||||||
depends_on:
|
depends_on:
|
||||||
- db
|
- db
|
||||||
|
|
|
@ -15,7 +15,7 @@ services:
|
||||||
- "traefik.http.routers.web-secure.rule=Host(`${DOMAIN}`) || Host(`www.${DOMAIN}`)"
|
- "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.certresolver=myresolver"
|
||||||
- "traefik.http.routers.web-secure.tls.options=intermediate@file"
|
- "traefik.http.routers.web-secure.tls.options=intermediate@file"
|
||||||
- "traefik.docker.network=web"
|
|
||||||
- "docker.group=www"
|
- "docker.group=www"
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
|
|
Loading…
Reference in a new issue