homelab/server/config/jdownloader2/docker-compose.yml
Joey Hafner 54124da9d1 #31 Add Loki logging for all "main" apps
Also converted a few old composes from 4-space indentation to 2-space
Ignores supporting containers like postgres, redis, etc.
2022-07-13 13:35:56 -07:00

26 lines
701 B
YAML

version: '3'
services:
jdl:
image: jlesage/jdownloader-2
container_name: jdownloader2
logging:
driver: loki
options:
loki-url: http://localhost:3100/loki/api/v1/push
loki-batch-size: "50"
loki-retries: "1"
loki-timeout: "2s"
networks:
- web
volumes:
- "$DOCKER_DATA:/config:rw"
- "$DOWNLOAD_DIR:/output:rw"
labels:
- traefik.http.routers.jdl.rule=Host(`jdl.jafner.net`)
- traefik.http.routers.jdl.tls.certresolver=lets-encrypt
- traefik.http.routers.jdl.middlewares=lan-only@file,authentik@file
- traefik.http.services.jdl.loadbalancer.server.port=5800
networks:
web:
external: true