diff --git a/.github/ISSUE_TEMPLATE/compose-request.md b/.github/ISSUE_TEMPLATE/compose-request.md index 2a9bb02..2a4a7f0 100644 --- a/.github/ISSUE_TEMPLATE/compose-request.md +++ b/.github/ISSUE_TEMPLATE/compose-request.md @@ -49,17 +49,11 @@ services: # - proxy #labels: # - traefik.enable=true + # - traefik.docker.network=proxy # - traefik.http.routers.CHANGEME.rule=Host(`service.example.com`) # - traefik.http.services.CHANGEME.loadbalancer.server.port=8080 - # - traefik.http.services.CHANGEME.loadbalancer.server.scheme=https # optional, but sometines necessary when proxying to https services - # - traefik.http.services.CHANGEME.loadbalancer.serverstransport=insecureTransport@file # optional, but sometines necessary when proxying to https services - # - traefik.http.middlewares.limit.buffering.maxRequestBodyBytes=50000000 # optional, only necessary for enabled file uploads - # - traefik.http.middlewares.limit.buffering.maxResponseBodyBytes=50000000 # optional, only necessary for enabled file uploads - # - traefik.http.middlewares.limit.buffering.memRequestBodyBytes=50000000 # optional, only necessary for enabled file uploads - # - traefik.http.middlewares.limit.buffering.memResponseBodyBytes=50000000 # optional, only necessary for enabled file uploads - # - traefik.docker.network=proxy # # Part for optional traefik middlewares - # - traefik.http.routers.CHANGEME.middlewares=local-ipwhitelist@file,basic-auth@file + # - traefik.http.routers.CHANGEME.middlewares=local-ipwhitelist@file #networks: # proxy: diff --git a/examples/atlassian-jira-confluence/docker-compose.yml b/examples/atlassian-jira-confluence/docker-compose.yml index d691cd1..3f5801d 100644 --- a/examples/atlassian-jira-confluence/docker-compose.yml +++ b/examples/atlassian-jira-confluence/docker-compose.yml @@ -41,12 +41,12 @@ services: # - traefik.http.routers.confluence.rule=Host(`confluence.example.com`) # - traefik.http.services.confluence.loadbalancer.server.port=8090 # # Optional part for file upload max sizes - # - traefik.http.middlewares.limit.buffering.maxRequestBodyBytes=50000000 - # - traefik.http.middlewares.limit.buffering.maxResponseBodyBytes=50000000 - # - traefik.http.middlewares.limit.buffering.memRequestBodyBytes=50000000 - # - traefik.http.middlewares.limit.buffering.memResponseBodyBytes=50000000 + # - traefik.http.middlewares.limit-confluence.buffering.maxRequestBodyBytes=50000000 + # - traefik.http.middlewares.limit-confluence.buffering.maxResponseBodyBytes=50000000 + # - traefik.http.middlewares.limit-confluence.buffering.memRequestBodyBytes=50000000 + # - traefik.http.middlewares.limit-confluence.buffering.memResponseBodyBytes=50000000 # # Optional part for traefik middlewares - # - traefik.http.routers.confluence.middlewares=local-ipwhitelist@file + # - traefik.http.routers.confluence.middlewares=limit-confluence jira: image: atlassian/jira-core:9.9.2 @@ -91,12 +91,12 @@ services: # - traefik.http.routers.jira.rule=Host(`jira.example.com`) # - traefik.http.services.jira.loadbalancer.server.port=8080 # # Optional part for file upload max sizes - # - traefik.http.middlewares.limit.buffering.maxRequestBodyBytes=50000000 - # - traefik.http.middlewares.limit.buffering.maxResponseBodyBytes=50000000 - # - traefik.http.middlewares.limit.buffering.memRequestBodyBytes=50000000 - # - traefik.http.middlewares.limit.buffering.memResponseBodyBytes=50000000 + # - traefik.http.middlewares.limit-jira.buffering.maxRequestBodyBytes=50000000 + # - traefik.http.middlewares.limit-jira.buffering.maxResponseBodyBytes=50000000 + # - traefik.http.middlewares.limit-jira.buffering.memRequestBodyBytes=50000000 + # - traefik.http.middlewares.limit-jira.buffering.memResponseBodyBytes=50000000 # # Optional part for traefik middlewares - # - traefik.http.routers.jira.middlewares=local-ipwhitelist@file + # - traefik.http.routers.jira.middlewares=limit-jira postgresql: image: docker.io/library/postgres:16-alpine diff --git a/examples/bookstack/docker-compose.yml b/examples/bookstack/docker-compose.yml index 338c8f6..e57c3fd 100644 --- a/examples/bookstack/docker-compose.yml +++ b/examples/bookstack/docker-compose.yml @@ -29,12 +29,12 @@ services: # - traefik.http.routers.bookstack.rule=Host(`bookstack.example.com`) # - traefik.http.services.bookstack.loadbalancer.server.port=80 # # Optional part for file upload max sizes - # - traefik.http.middlewares.limit.buffering.maxRequestBodyBytes=50000000 - # - traefik.http.middlewares.limit.buffering.maxResponseBodyBytes=50000000 - # - traefik.http.middlewares.limit.buffering.memRequestBodyBytes=50000000 - # - traefik.http.middlewares.limit.buffering.memResponseBodyBytes=50000000 + # - traefik.http.middlewares.limit-bookstack.buffering.maxRequestBodyBytes=50000000 + # - traefik.http.middlewares.limit-bookstack.buffering.maxResponseBodyBytes=50000000 + # - traefik.http.middlewares.limit-bookstack.buffering.memRequestBodyBytes=50000000 + # - traefik.http.middlewares.limit-bookstack.buffering.memResponseBodyBytes=50000000 # # Optional part for traefik middlewares - # - traefik.http.routers.bookstack.middlewares=local-ipwhitelist@file,authelia@docker + # - traefik.http.routers.bookstack.middlewares=limit-bookstack bookstack_db: image: linuxserver/mariadb diff --git a/examples/code-server/docker-compose.yml b/examples/code-server/docker-compose.yml index 15839b1..60c7a3c 100644 --- a/examples/code-server/docker-compose.yml +++ b/examples/code-server/docker-compose.yml @@ -27,12 +27,12 @@ services: # - traefik.http.routers.codeserver.rule=Host(`code.example.com`) # - traefik.http.services.codeserver.loadbalancer.server.port=8443 # # Optional part for file upload max sizes - # - traefik.http.middlewares.limit.buffering.maxRequestBodyBytes=50000000 - # - traefik.http.middlewares.limit.buffering.maxResponseBodyBytes=50000000 - # - traefik.http.middlewares.limit.buffering.memRequestBodyBytes=50000000 - # - traefik.http.middlewares.limit.buffering.memResponseBodyBytes=50000000 + # - traefik.http.middlewares.limit-codeserver.buffering.maxRequestBodyBytes=50000000 + # - traefik.http.middlewares.limit-codeserver.buffering.maxResponseBodyBytes=50000000 + # - traefik.http.middlewares.limit-codeserver.buffering.memRequestBodyBytes=50000000 + # - traefik.http.middlewares.limit-codeserver.buffering.memResponseBodyBytes=50000000 # # Optional part for traefik middlewares - # - traefik.http.routers.codeserver.middlewares=local-ipwhitelist@file,authelia@docker + # - traefik.http.routers.codeserver.middlewares=limit-codeserver #networks: # proxy: diff --git a/examples/headscale/docker-compose.yml b/examples/headscale/docker-compose.yml index 8c4f201..612ac15 100644 --- a/examples/headscale/docker-compose.yml +++ b/examples/headscale/docker-compose.yml @@ -17,11 +17,12 @@ services: - traefik.enable=true - traefik.http.routers.headscale-rtr.rule=Host(`headscale.example.com`) && PathPrefix(`/`) - traefik.http.services.headscale-svc.loadbalancer.server.port=8080 + - traefik.http.routers.headscale-rtr.middlewares=limit-headscale # Optional part for file upload max sizes - - traefik.http.middlewares.limit.buffering.maxRequestBodyBytes=50000000 # optional, only necessary for enabled file uploads - - traefik.http.middlewares.limit.buffering.maxResponseBodyBytes=50000000 # optional, only necessary for enabled file uploads - - traefik.http.middlewares.limit.buffering.memRequestBodyBytes=50000000 # optional, only necessary for enabled file uploads - - traefik.http.middlewares.limit.buffering.memResponseBodyBytes=50000000 # optional, only necessary for enabled file uploads + - traefik.http.middlewares.limit-headscale.buffering.maxRequestBodyBytes=50000000 # optional, only necessary for enabled file uploads + - traefik.http.middlewares.limit-headscale.buffering.maxResponseBodyBytes=50000000 # optional, only necessary for enabled file uploads + - traefik.http.middlewares.limit-headscale.buffering.memRequestBodyBytes=50000000 # optional, only necessary for enabled file uploads + - traefik.http.middlewares.limit-headscale.buffering.memResponseBodyBytes=50000000 # optional, only necessary for enabled file uploads headscale-ui: image: ghcr.io/gurucomputing/headscale-ui:latest @@ -40,11 +41,6 @@ services: - traefik.http.services.headscale-ui-svc.loadbalancer.server.port=80 # Optional part for traefik middlewares; protect the headscale ui interface; access from local lan only - traefik.http.routers.headscale-ui-rtr.middlewares=local-ipwhitelist@file - # Optional part for file upload max sizes - - traefik.http.middlewares.limit.buffering.maxRequestBodyBytes=50000000 # optional, only necessary for enabled file uploads - - traefik.http.middlewares.limit.buffering.maxResponseBodyBytes=50000000 # optional, only necessary for enabled file uploads - - traefik.http.middlewares.limit.buffering.memRequestBodyBytes=50000000 # optional, only necessary for enabled file uploads - - traefik.http.middlewares.limit.buffering.memResponseBodyBytes=50000000 # optional, only necessary for enabled file uploads networks: proxy: diff --git a/examples/immich/docker-compose.yml b/examples/immich/docker-compose.yml index 3168147..d109f5a 100644 --- a/examples/immich/docker-compose.yml +++ b/examples/immich/docker-compose.yml @@ -27,12 +27,12 @@ services: # - traefik.http.services.immich.loadbalancer.server.port=2283 # - traefik.docker.network=proxy # # Optional part for file upload max sizes - # - traefik.http.middlewares.limit.buffering.maxRequestBodyBytes=5000000000 # optional, only necessary for file uploads; allow 5000MB - # - traefik.http.middlewares.limit.buffering.maxResponseBodyBytes=5000000000 # optional, only necessary for file uploads; allow 5000MB - # - traefik.http.middlewares.limit.buffering.memRequestBodyBytes=5000000000 # optional, only necessary for file uploads; allow 5000MB - # - traefik.http.middlewares.limit.buffering.memResponseBodyBytes=5000000000 # optional, only necessary for file uploads; allow 5000MB + # - traefik.http.middlewares.limit-immich.buffering.maxRequestBodyBytes=5000000000 # optional, only necessary for file uploads; allow 5000MB + # - traefik.http.middlewares.limit-immich.buffering.maxResponseBodyBytes=5000000000 # optional, only necessary for file uploads; allow 5000MB + # - traefik.http.middlewares.limit-immich.buffering.memRequestBodyBytes=5000000000 # optional, only necessary for file uploads; allow 5000MB + # - traefik.http.middlewares.limit-immich.buffering.memResponseBodyBytes=5000000000 # optional, only necessary for file uploads; allow 5000MB # # Part for local lan services only - # - traefik.http.routers.immich.middlewares=local-ipwhitelist@file + # - traefik.http.routers.immich.middlewares=limit-immich immich-machine-learning: image: altran1502/immich-machine-learning:${IMMICH_VERSION:-release} @@ -46,7 +46,7 @@ services: - NODE_ENV=production restart: unless-stopped networks: - - proxy + - proxy # machine learning requires internet connecting for model download - immich-internal immich-redis: diff --git a/examples/koillection/docker-compose.yml b/examples/koillection/docker-compose.yml index 99efbc3..997d74e 100644 --- a/examples/koillection/docker-compose.yml +++ b/examples/koillection/docker-compose.yml @@ -53,11 +53,6 @@ services: # - traefik.docker.network=proxy # - traefik.http.routers.koillection.rule=Host(`collection.example.com`) # - traefik.http.services.koillection.loadbalancer.server.port=80 - # # Optional part for file upload max sizes - # - traefik.http.middlewares.limit.buffering.maxRequestBodyBytes=50000000 - # - traefik.http.middlewares.limit.buffering.maxResponseBodyBytes=50000000 - # - traefik.http.middlewares.limit.buffering.memRequestBodyBytes=50000000 - # - traefik.http.middlewares.limit.buffering.memResponseBodyBytes=50000000 # # Optional part for traefik middlewares # - traefik.http.routers.koillection.middlewares=local-ipwhitelist@file,authelia@docker diff --git a/examples/leantime/docker-compose.yml b/examples/leantime/docker-compose.yml index 417bd9d..9facff6 100644 --- a/examples/leantime/docker-compose.yml +++ b/examples/leantime/docker-compose.yml @@ -37,12 +37,12 @@ services: # - traefik.http.routers.leantime.rule=Host(`leantime.example.com`) # - traefik.http.services.leantime.loadbalancer.server.port=80 # # Optional part for file upload max sizes - # - traefik.http.middlewares.limit.buffering.maxRequestBodyBytes=50000000 # optional, only necessary for enabled file uploads - # - traefik.http.middlewares.limit.buffering.maxResponseBodyBytes=50000000 # optional, only necessary for enabled file uploads - # - traefik.http.middlewares.limit.buffering.memRequestBodyBytes=50000000 # optional, only necessary for enabled file uploads - # - traefik.http.middlewares.limit.buffering.memResponseBodyBytes=50000000 # optional, only necessary for enabled file uploads + # - traefik.http.middlewares.limit-leantime.buffering.maxRequestBodyBytes=50000000 # optional, only necessary for enabled file uploads + # - traefik.http.middlewares.limit-leantime.buffering.maxResponseBodyBytes=50000000 # optional, only necessary for enabled file uploads + # - traefik.http.middlewares.limit-leantime.buffering.memRequestBodyBytes=50000000 # optional, only necessary for enabled file uploads + # - traefik.http.middlewares.limit-leantime.buffering.memResponseBodyBytes=50000000 # optional, only necessary for enabled file uploads # # Part for optional traefik middlewares - # - traefik.http.routers.leantime.middlewares=local-ipwhitelist@file,authelia@file,basic-auth@file + # - traefik.http.routers.leantime.middlewares=limit-leantime #networks: # proxy: diff --git a/examples/mattermost/docker-compose.yml b/examples/mattermost/docker-compose.yml index 7bf000f..90acd00 100644 --- a/examples/mattermost/docker-compose.yml +++ b/examples/mattermost/docker-compose.yml @@ -67,12 +67,12 @@ services: # - traefik.docker.network=proxy # - traefik.http.routers.mattermost.rule=Host(`mattermost.example.com`) # - traefik.http.services.mattermost.loadbalancer.server.port=8065 - # - traefik.http.middlewares.limit.buffering.maxRequestBodyBytes=50000000 # optional, only necessary for file uploads; allow 50MB - # - traefik.http.middlewares.limit.buffering.maxResponseBodyBytes=50000000 # optional, only necessary for file uploads; allow 50MB - # - traefik.http.middlewares.limit.buffering.memRequestBodyBytes=50000000 # optional, only necessary for file uploads; allow 50MB - # - traefik.http.middlewares.limit.buffering.memResponseBodyBytes=50000000 # optional, only necessary for file uploads; allow 50MB + # - traefik.http.middlewares.limit-mattermost.buffering.maxRequestBodyBytes=50000000 # optional, only necessary for file uploads; allow 50MB + # - traefik.http.middlewares.limit-mattermost.buffering.maxResponseBodyBytes=50000000 # optional, only necessary for file uploads; allow 50MB + # - traefik.http.middlewares.limit-mattermost.buffering.memRequestBodyBytes=50000000 # optional, only necessary for file uploads; allow 50MB + # - traefik.http.middlewares.limit-mattermost.buffering.memResponseBodyBytes=50000000 # optional, only necessary for file uploads; allow 50MB # # Part for optional traefik middlewares - # - traefik.http.routers.mattermost.middlewares=local-ipwhitelist@file + # - traefik.http.routers.mattermost.middlewares=limit-mattermost #networks: # proxy: diff --git a/examples/minio/docker-compose.yml b/examples/minio/docker-compose.yml index 35f01b0..90b80c1 100644 --- a/examples/minio/docker-compose.yml +++ b/examples/minio/docker-compose.yml @@ -20,13 +20,13 @@ services: # - traefik.enable=true # - traefik.http.routers.minio.rule=Host(`s3.example.com`) # - traefik.http.services.minio.loadbalancer.server.port=9001 - # - traefik.http.middlewares.limit.buffering.maxRequestBodyBytes=50000000 # optional, only necessary for enabled file uploads - # - traefik.http.middlewares.limit.buffering.maxResponseBodyBytes=50000000 # optional, only necessary for enabled file uploads - # - traefik.http.middlewares.limit.buffering.memRequestBodyBytes=50000000 # optional, only necessary for enabled file uploads - # - traefik.http.middlewares.limit.buffering.memResponseBodyBytes=50000000 # optional, only necessary for enabled file uploads + # - traefik.http.middlewares.limit-minio.buffering.maxRequestBodyBytes=50000000 # optional, only necessary for enabled file uploads + # - traefik.http.middlewares.limit-minio.buffering.maxResponseBodyBytes=50000000 # optional, only necessary for enabled file uploads + # - traefik.http.middlewares.limit-minio.buffering.memRequestBodyBytes=50000000 # optional, only necessary for enabled file uploads + # - traefik.http.middlewares.limit-minio.buffering.memResponseBodyBytes=50000000 # optional, only necessary for enabled file uploads # - traefik.docker.network=proxy # # Part for optional traefik middlewares - # - traefik.http.routers.minio.middlewares=local-ipwhitelist@file,basic-auth@file + # - traefik.http.routers.minio.middlewares=limit-minio #networks: # proxy: diff --git a/examples/nextcloud/docker-compose-mariadb-redis.yml b/examples/nextcloud/docker-compose-mariadb-redis.yml index dd615f8..77d28ca 100644 --- a/examples/nextcloud/docker-compose-mariadb-redis.yml +++ b/examples/nextcloud/docker-compose-mariadb-redis.yml @@ -70,14 +70,14 @@ services: # - traefik.enable=true # - traefik.http.routers.nextcloud.rule=(Host(`cloud.example.com`)) # pls change # - traefik.http.services.nextcloud.loadbalancer.server.port=80 - # - traefik.http.routers.nextcloud.middlewares=local-ipwhitelist@file,authelia@docker - # - traefik.docker.network=proxy + # - traefik.http.routers.nextcloud.middlewares=limit-nextcloud,nextcloud-dav # - traefik.http.middlewares.nextcloud-dav.replacepathregex.regex=^/.well-known/ca(l|rd)dav # - traefik.http.middlewares.nextcloud-dav.replacepathregex.replacement=/remote.php/dav/ - # - traefik.http.middlewares.limit.buffering.maxRequestBodyBytes=50000000 # only necessary for enabled file uploads - # - traefik.http.middlewares.limit.buffering.maxResponseBodyBytes=50000000 # only necessary for enabled file uploads - # - traefik.http.middlewares.limit.buffering.memRequestBodyBytes=50000000 # only necessary for enabled file uploads - # - traefik.http.middlewares.limit.buffering.memResponseBodyBytes=50000000 # only necessary for enabled file uploads + # - traefik.http.middlewares.limit-nextcloud.buffering.maxRequestBodyBytes=50000000 # only necessary for enabled file uploads + # - traefik.http.middlewares.limit-nextcloud.buffering.maxResponseBodyBytes=50000000 # only necessary for enabled file uploads + # - traefik.http.middlewares.limit-nextcloud.buffering.memRequestBodyBytes=50000000 # only necessary for enabled file uploads + # - traefik.http.middlewares.limit-nextcloud.buffering.memResponseBodyBytes=50000000 # only necessary for enabled file uploads + # - traefik.docker.network=proxy #networks: # proxy: diff --git a/examples/nextcloud/docker-compose-sqlite.yml b/examples/nextcloud/docker-compose-sqlite.yml index 2586077..9f7a1ed 100644 --- a/examples/nextcloud/docker-compose-sqlite.yml +++ b/examples/nextcloud/docker-compose-sqlite.yml @@ -23,14 +23,14 @@ services: # - traefik.http.services.nextcloud.loadbalancer.server.port=443 # - traefik.http.services.nextcloud.loadbalancer.server.scheme=https # - traefik.http.services.nextcloud.loadbalancer.serverstransport=insecureTransport@file - # - traefik.http.routers.nextcloud.middlewares=local-ipwhitelist@file,authelia@docker - # - traefik.docker.network=proxy + # - traefik.http.routers.nextcloud.middlewares=limit-nextcloud,nextcloud-dav # - traefik.http.middlewares.nextcloud-dav.replacepathregex.regex=^/.well-known/ca(l|rd)dav # - traefik.http.middlewares.nextcloud-dav.replacepathregex.replacement=/remote.php/dav/ - # - traefik.http.middlewares.limit.buffering.maxRequestBodyBytes=50000000 # only necessary for enabled file uploads - # - traefik.http.middlewares.limit.buffering.maxResponseBodyBytes=50000000 # only necessary for enabled file uploads - # - traefik.http.middlewares.limit.buffering.memRequestBodyBytes=50000000 # only necessary for enabled file uploads - # - traefik.http.middlewares.limit.buffering.memResponseBodyBytes=50000000 # only necessary for enabled file uploads + # - traefik.http.middlewares.limit-nextcloud.buffering.maxRequestBodyBytes=50000000 # only necessary for enabled file uploads + # - traefik.http.middlewares.limit-nextcloud.buffering.maxResponseBodyBytes=50000000 # only necessary for enabled file uploads + # - traefik.http.middlewares.limit-nextcloud.buffering.memRequestBodyBytes=50000000 # only necessary for enabled file uploads + # - traefik.http.middlewares.limit-nextcloud.buffering.memResponseBodyBytes=50000000 # only necessary for enabled file uploads + # - traefik.docker.network=proxy #networks: # proxy: diff --git a/examples/openspeedtest/docker-compose.yml b/examples/openspeedtest/docker-compose.yml index 0bfa566..b2cc08b 100644 --- a/examples/openspeedtest/docker-compose.yml +++ b/examples/openspeedtest/docker-compose.yml @@ -12,10 +12,10 @@ services: restart: always #labels: # - traefik.enable=true - # - traefik.http.routers.openspeedtest.middlewares=local-ipwhitelist@file, limit # - traefik.http.routers.openspeedtest.rule=Host(`speedtest.example.com`) # - traefik.http.services.openspeedtest.loadbalancer.server.port=3000 + # - traefik.http.routers.openspeedtest.middlewares=local-ipwhitelist@file,limit-openspeedtest,test-compress # - traefik.docker.network=proxy # # Part for local lan services only - # - traefik.http.middlewares.limit.buffering.maxRequestBodyBytes=10000000000 + # - traefik.http.middlewares.limit-openspeedtest.buffering.maxRequestBodyBytes=10000000000 # - traefik.http.middlewares.test-compress.compress=true diff --git a/examples/owncloud-ocis/docker-compose.yml b/examples/owncloud-ocis/docker-compose.yml index e1af22c..a9aa16e 100644 --- a/examples/owncloud-ocis/docker-compose.yml +++ b/examples/owncloud-ocis/docker-compose.yml @@ -22,21 +22,21 @@ services: - 9200:9200 expose: - 9200 + #networks: + # - dev #labels: # - traefik.enable=true + # - traefik.docker.network=dev # - traefik.http.routers.ocis.rule=Host(`cloud.example.com`) # adjust to your domain # - traefik.http.services.ocis.loadbalancer.server.port=9200 - # - traefik.http.middlewares.limit.buffering.maxRequestBodyBytes=50000000 - # - traefik.http.middlewares.limit.buffering.maxResponseBodyBytes=50000000 - # - traefik.http.middlewares.limit.buffering.memRequestBodyBytes=50000000 - # - traefik.http.middlewares.limit.buffering.memResponseBodyBytes=50000000 - # - traefik.http.routers.ocis.middlewares=local-ipwhitelist@file,authelia@docker - # - traefik.docker.network=dev + # - traefik.http.middlewares.limit-ocis.buffering.maxRequestBodyBytes=50000000 + # - traefik.http.middlewares.limit-ocis.buffering.maxResponseBodyBytes=50000000 + # - traefik.http.middlewares.limit-ocis.buffering.memRequestBodyBytes=50000000 + # - traefik.http.middlewares.limit-ocis.buffering.memResponseBodyBytes=50000000 + # - traefik.http.routers.ocis.middlewares=limit-ocis # # disallow listing version details via /status.php endpoint # - traefik.http.routers.ocis-version-disclosure.rule=Host(`cloud.example.com`) && Path(`/status.php`) # - traefik.http.routers.ocis-version-disclosure.middlewares=local-ipwhitelist@file - #networks: - # - dev #networks: # dev: diff --git a/examples/pairdrop/docker-compose.yml b/examples/pairdrop/docker-compose.yml index d812095..7306a5f 100644 --- a/examples/pairdrop/docker-compose.yml +++ b/examples/pairdrop/docker-compose.yml @@ -23,11 +23,11 @@ services: # - traefik.http.services.pairdrop.loadbalancer.server.port=3000 # - traefik.docker.network=proxy # # Part for optional traefik middlewares - # - traefik.http.routers.pairdrop.middlewares=local-ipwhitelist@file,basic-auth@file - # - traefik.http.middlewares.limit.buffering.maxRequestBodyBytes=50000000 # only necessary for enabled file uploads - # - traefik.http.middlewares.limit.buffering.maxResponseBodyBytes=50000000 # only necessary for enabled file uploads - # - traefik.http.middlewares.limit.buffering.memRequestBodyBytes=50000000 # only necessary for enabled file uploads - # - traefik.http.middlewares.limit.buffering.memResponseBodyBytes=50000000 # only necessary for enabled file uploads + # - traefik.http.routers.pairdrop.middlewares=limit-pairdrop + # - traefik.http.middlewares.limit-pairdrop.buffering.maxRequestBodyBytes=50000000 # only necessary for enabled file uploads + # - traefik.http.middlewares.limit-pairdrop.buffering.maxResponseBodyBytes=50000000 # only necessary for enabled file uploads + # - traefik.http.middlewares.limit-pairdrop.buffering.memRequestBodyBytes=50000000 # only necessary for enabled file uploads + # - traefik.http.middlewares.limit-pairdrop.buffering.memResponseBodyBytes=50000000 # only necessary for enabled file uploads #networks: # proxy: diff --git a/examples/paperless-ngx/docker-compose.yml b/examples/paperless-ngx/docker-compose.yml index 5efe90f..e65745e 100644 --- a/examples/paperless-ngx/docker-compose.yml +++ b/examples/paperless-ngx/docker-compose.yml @@ -67,11 +67,11 @@ services: # - traefik.http.services.paperless-ngx.loadbalancer.server.port=8000 # - traefik.docker.network=proxy # # Part for optional traefik middlewares - # - traefik.http.routers.paperless-ngx.middlewares=local-ipwhitelist@file,basic-auth@file - # - traefik.http.middlewares.limit.buffering.maxRequestBodyBytes=50000000 # optional, only necessary for enabled file uploads - # - traefik.http.middlewares.limit.buffering.maxResponseBodyBytes=50000000 # optional, only necessary for enabled file uploads - # - traefik.http.middlewares.limit.buffering.memRequestBodyBytes=50000000 # optional, only necessary for enabled file uploads - # - traefik.http.middlewares.limit.buffering.memResponseBodyBytes=50000000 # optional, only necessary for enabled file uploads + # - traefik.http.routers.paperless-ngx.middlewares=limit-paperless + # - traefik.http.middlewares.limit-paperless.buffering.maxRequestBodyBytes=50000000 # optional, only necessary for enabled file uploads + # - traefik.http.middlewares.limit-paperless.buffering.maxResponseBodyBytes=50000000 # optional, only necessary for enabled file uploads + # - traefik.http.middlewares.limit-paperless.buffering.memRequestBodyBytes=50000000 # optional, only necessary for enabled file uploads + # - traefik.http.middlewares.limit-paperless.buffering.memResponseBodyBytes=50000000 # optional, only necessary for enabled file uploads #networks: # proxy: diff --git a/examples/papermerge/docker-compose.yml b/examples/papermerge/docker-compose.yml index edb6817..0ee76b0 100644 --- a/examples/papermerge/docker-compose.yml +++ b/examples/papermerge/docker-compose.yml @@ -29,12 +29,12 @@ services: # - traefik.http.routers.papermerge.rule=Host(`papermerge.example.com`) # - traefik.http.services.papermerge.loadbalancer.server.port=8000 # # Optional part for file upload max sizes - # - traefik.http.middlewares.limit.buffering.maxRequestBodyBytes=50000000 - # - traefik.http.middlewares.limit.buffering.maxResponseBodyBytes=50000000 - # - traefik.http.middlewares.limit.buffering.memRequestBodyBytes=50000000 - # - traefik.http.middlewares.limit.buffering.memResponseBodyBytes=50000000 + # - traefik.http.middlewares.limit-papermerge.buffering.maxRequestBodyBytes=50000000 + # - traefik.http.middlewares.limit-papermerge.buffering.maxResponseBodyBytes=50000000 + # - traefik.http.middlewares.limit-papermerge.buffering.memRequestBodyBytes=50000000 + # - traefik.http.middlewares.limit-papermerge.buffering.memResponseBodyBytes=50000000 # # Optional part for traefik middlewares - # - traefik.http.routers.papermerge.middlewares=local-ipwhitelist@file,authelia@docker + # - traefik.http.routers.papermerge.middlewares=limit-papermerge db: image: postgres:16-alpine diff --git a/examples/privatebin/docker-compose.yml b/examples/privatebin/docker-compose.yml index 4b1b9ef..1e47a97 100644 --- a/examples/privatebin/docker-compose.yml +++ b/examples/privatebin/docker-compose.yml @@ -17,12 +17,12 @@ services: restart: always #labels: # - traefik.enable=true + # - traefik.docker.network=proxy # - traefik.http.routers.privatebin.rule=Host(`privatebin.example.com`) # - traefik.http.services.privatebin.loadbalancer.server.port=8080 - # - traefik.docker.network=proxy # # Part for local lan services only - # # - traefik.http.routers.privatebin.middlewares=local-ipwhitelist@file - # - traefik.http.middlewares.limit.buffering.maxRequestBodyBytes=1000000000 # necessary to enable large file uploads - # - traefik.http.middlewares.limit.buffering.maxResponseBodyBytes=1000000000 # necessary to enable large file uploads - # - traefik.http.middlewares.limit.buffering.memRequestBodyBytes=2000000000 # necessary to enable large file uploads - # - traefik.http.middlewares.limit.buffering.memResponseBodyBytes=2000000000 # necessary to enable large file uploads + # # - traefik.http.routers.privatebin.middlewares=local-ipwhitelist@file,limit-privatebin + # - traefik.http.middlewares.limit-privatebin.buffering.maxRequestBodyBytes=1000000000 # necessary to enable large file uploads + # - traefik.http.middlewares.limit-privatebin.buffering.maxResponseBodyBytes=1000000000 # necessary to enable large file uploads + # - traefik.http.middlewares.limit-privatebin.buffering.memRequestBodyBytes=2000000000 # necessary to enable large file uploads + # - traefik.http.middlewares.limit-privatebin.buffering.memResponseBodyBytes=2000000000 # necessary to enable large file uploads \ No newline at end of file diff --git a/examples/send/docker-compose.yml b/examples/send/docker-compose.yml index 4a8be6b..0fdf018 100644 --- a/examples/send/docker-compose.yml +++ b/examples/send/docker-compose.yml @@ -65,10 +65,11 @@ services: # - traefik.docker.network=proxy # - traefik.http.routers.send.rule=Host(`send.example.com`) # - traefik.http.services.send.loadbalancer.server.port=1234 - # - traefik.http.middlewares.limit.buffering.maxRequestBodyBytes=5000000000 # optional, only necessary for file uploads; allow 5GB - # - traefik.http.middlewares.limit.buffering.maxResponseBodyBytes=5000000000 # optional, only necessary for file uploads; allow 5GB - # - traefik.http.middlewares.limit.buffering.memRequestBodyBytes=5000000000 # optional, only necessary for file uploads; allow 5GB - # - traefik.http.middlewares.limit.buffering.memResponseBodyBytes=5000000000 # optional, only necessary for file uploads; allow 5GB + # - traefik.http.middlewares.limit-send.buffering.maxRequestBodyBytes=5000000000 # optional, only necessary for file uploads; allow 5GB + # - traefik.http.middlewares.limit-send.buffering.maxResponseBodyBytes=5000000000 # optional, only necessary for file uploads; allow 5GB + # - traefik.http.middlewares.limit-send.buffering.memRequestBodyBytes=5000000000 # optional, only necessary for file uploads; allow 5GB + # - traefik.http.middlewares.limit-send.buffering.memResponseBodyBytes=5000000000 # optional, only necessary for file uploads; allow 5GB + # - traefik.http.routers.send.middlewares=limit-send redis: image: redis:alpine diff --git a/examples/transfer.sh/docker-compose.yml b/examples/transfer.sh/docker-compose.yml index 81d91e7..1902734 100644 --- a/examples/transfer.sh/docker-compose.yml +++ b/examples/transfer.sh/docker-compose.yml @@ -21,12 +21,12 @@ services: # - traefik.docker.network=proxy # - traefik.http.routers.transfer.rule=Host(`transfer.example.com`) # - traefik.http.services.transfer.loadbalancer.server.port=8080 - # - traefik.http.middlewares.limit.buffering.maxRequestBodyBytes=50000000 # optional, only necessary for enabled file uploads - # - traefik.http.middlewares.limit.buffering.maxResponseBodyBytes=50000000 # optional, only necessary for enabled file uploads - # - traefik.http.middlewares.limit.buffering.memRequestBodyBytes=50000000 # optional, only necessary for enabled file uploads - # - traefik.http.middlewares.limit.buffering.memResponseBodyBytes=50000000 # optional, only necessary for enabled file uploads + # - traefik.http.middlewares.limit-transfersh.buffering.maxRequestBodyBytes=50000000 # optional, only necessary for enabled file uploads + # - traefik.http.middlewares.limit-transfersh.buffering.maxResponseBodyBytes=50000000 # optional, only necessary for enabled file uploads + # - traefik.http.middlewares.limit-transfersh.buffering.memRequestBodyBytes=50000000 # optional, only necessary for enabled file uploads + # - traefik.http.middlewares.limit-transfersh.buffering.memResponseBodyBytes=50000000 # optional, only necessary for enabled file uploads # # Part for optional traefik middlewares - # - traefik.http.routers.transfer.middlewares=local-ipwhitelist@file + # - traefik.http.routers.transfer.middlewares=limit-transfersh #networks: # proxy: diff --git a/examples/transfer.zip/docker-compose.yml b/examples/transfer.zip/docker-compose.yml index 7f4295d..0525d96 100644 --- a/examples/transfer.zip/docker-compose.yml +++ b/examples/transfer.zip/docker-compose.yml @@ -19,12 +19,12 @@ services: # - traefik.docker.network=proxy # - traefik.http.routers.transferzip.rule=Host(`transfer.example.com`) # - traefik.http.services.transferzip.loadbalancer.server.port=80 - # - traefik.http.middlewares.limit.buffering.maxRequestBodyBytes=50000000 # optional, only necessary for enabled file uploads - # - traefik.http.middlewares.limit.buffering.maxResponseBodyBytes=50000000 # optional, only necessary for enabled file uploads - # - traefik.http.middlewares.limit.buffering.memRequestBodyBytes=50000000 # optional, only necessary for enabled file uploads - # - traefik.http.middlewares.limit.buffering.memResponseBodyBytes=50000000 # optional, only necessary for enabled file uploads + # - traefik.http.middlewares.limit-transferzip.buffering.maxRequestBodyBytes=50000000 # optional, only necessary for enabled file uploads + # - traefik.http.middlewares.limit-transferzip.buffering.maxResponseBodyBytes=50000000 # optional, only necessary for enabled file uploads + # - traefik.http.middlewares.limit-transferzip.buffering.memRequestBodyBytes=50000000 # optional, only necessary for enabled file uploads + # - traefik.http.middlewares.limit-transferzip.buffering.memResponseBodyBytes=50000000 # optional, only necessary for enabled file uploads # # Part for optional traefik middlewares - # - traefik.http.routers.transferzip.middlewares=local-ipwhitelist@file,authelia@file,basic-auth@file + # - traefik.http.routers.transferzip.middlewares=limit-transferzip signaling-server: #build: signaling-server diff --git a/examples/wikijs/docker-compose.yml b/examples/wikijs/docker-compose.yml index ccab742..1860c61 100644 --- a/examples/wikijs/docker-compose.yml +++ b/examples/wikijs/docker-compose.yml @@ -31,12 +31,12 @@ services: # - traefik.http.routers.wikijs.rule=Host(`wikijs.example.com`) # - traefik.http.services.wikijs.loadbalancer.server.port=3000 # # Optional part for file upload max sizes - # - traefik.http.middlewares.limit.buffering.maxRequestBodyBytes=50000000 - # - traefik.http.middlewares.limit.buffering.maxResponseBodyBytes=50000000 - # - traefik.http.middlewares.limit.buffering.memRequestBodyBytes=50000000 - # - traefik.http.middlewares.limit.buffering.memResponseBodyBytes=50000000 + # - traefik.http.middlewares.limit-wikijs.buffering.maxRequestBodyBytes=50000000 + # - traefik.http.middlewares.limit-wikijs.buffering.maxResponseBodyBytes=50000000 + # - traefik.http.middlewares.limit-wikijs.buffering.memRequestBodyBytes=50000000 + # - traefik.http.middlewares.limit-wikijs.buffering.memResponseBodyBytes=50000000 # # Optional part for traefik middlewares - # - traefik.http.routers.wikijs.middlewares=local-ipwhitelist@file + # - traefik.http.routers.wikijs.middlewares=limit-wikijs db: image: postgres:16-alpine diff --git a/examples/wordpress/docker-compose.yml b/examples/wordpress/docker-compose.yml index d64355a..c624d2d 100644 --- a/examples/wordpress/docker-compose.yml +++ b/examples/wordpress/docker-compose.yml @@ -41,12 +41,12 @@ services: # - traefik.docker.network=proxy # - traefik.http.routers.wordpress.rule=Host(`wordpress.example.com`) # please adjust # - traefik.http.services.wordpress.loadbalancer.server.port=80 - # - traefik.http.middlewares.limit.buffering.maxRequestBodyBytes=50000000 # optional, only necessary for enabled file uploads - # - traefik.http.middlewares.limit.buffering.maxResponseBodyBytes=50000000 # optional, only necessary for enabled file uploads - # - traefik.http.middlewares.limit.buffering.memRequestBodyBytes=50000000 # optional, only necessary for enabled file uploads - # - traefik.http.middlewares.limit.buffering.memResponseBodyBytes=50000000 # optional, only necessary for enabled file uploads + # - traefik.http.middlewares.limit-wordpress.buffering.maxRequestBodyBytes=50000000 # optional, only necessary for enabled file uploads + # - traefik.http.middlewares.limit-wordpress.buffering.maxResponseBodyBytes=50000000 # optional, only necessary for enabled file uploads + # - traefik.http.middlewares.limit-wordpress.buffering.memRequestBodyBytes=50000000 # optional, only necessary for enabled file uploads + # - traefik.http.middlewares.limit-wordpress.buffering.memResponseBodyBytes=50000000 # optional, only necessary for enabled file uploads # # Part for optional traefik middlewares - # - traefik.http.routers.wordpress.middlewares=local-ipwhitelist@file + # - traefik.http.routers.wordpress.middlewares=limit-wordpress #networks: # proxy: