homelab/server/config/jdownloader2/docker-compose.yml

31 lines
996 B
YAML
Raw Normal View History

2022-06-30 10:22:49 -07:00
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"
2022-07-14 15:22:44 -07:00
keep-file: "true"
2022-06-30 10:22:49 -07:00
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
2022-06-30 10:24:58 -07:00
- traefik.http.services.jdl.loadbalancer.server.port=5800
- traefik.http.routers.jdl.priority=10
- traefik.http.routers.jdl-auth.rule=Host(`jdl.jafner.net`) && PathPrefix(`/outpost.goauthentik.io/`)
- traefik.http.routers.jdl-auth.priority=15
- traefik.http.routers.jdl-auth.service=authentik-auth@file
2022-06-30 10:22:49 -07:00
networks:
web:
external: true