2023-02-15 21:45:31 +00:00
|
|
|
version: "3"
|
2024-02-15 21:51:08 +00:00
|
|
|
|
2023-02-15 21:45:31 +00:00
|
|
|
services:
|
|
|
|
answer:
|
|
|
|
container_name: answer
|
|
|
|
image: answerdev/answer
|
|
|
|
ports:
|
|
|
|
- '9080:80'
|
|
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
2023-02-25 13:09:52 +00:00
|
|
|
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/answer/data:/data
|
2024-02-15 21:51:08 +00:00
|
|
|
#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
|