Skip to content

Commit

Permalink
Update docker-compose.yml
Browse files Browse the repository at this point in the history
add missing traefik labels
  • Loading branch information
l4rm4nd authored Feb 15, 2024
1 parent 858305f commit e141c95
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions examples/answer/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
version: "3"

services:
answer:
container_name: answer
Expand All @@ -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

0 comments on commit e141c95

Please sign in to comment.