From e141c95a99e599f0b5851f08ac4833f1ecbd0093 Mon Sep 17 00:00:00 2001 From: LRVT <21357789+l4rm4nd@users.noreply.github.com> Date: Thu, 15 Feb 2024 22:51:08 +0100 Subject: [PATCH] Update docker-compose.yml add missing traefik labels --- examples/answer/docker-compose.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/examples/answer/docker-compose.yml b/examples/answer/docker-compose.yml index 95c7b10..a16e01f 100644 --- a/examples/answer/docker-compose.yml +++ b/examples/answer/docker-compose.yml @@ -1,4 +1,5 @@ version: "3" + services: answer: container_name: answer @@ -8,3 +9,21 @@ services: restart: unless-stopped volumes: - ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/answer/data:/data + #networks: + # - proxy + #labels: + # - traefik.enable=true + # - traefik.docker.network=proxy + # - traefik.http.routers.answer.rule=Host(`faq.example.com`) + # - traefik.http.services.answer.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.answer.middlewares=local-ipwhitelist@file,authelia@docker + +#networks: +# proxy: +# external: true