From f4d5cbfac949c833b7c1b24dbd310b71fa78da24 Mon Sep 17 00:00:00 2001 From: Joey Hafner Date: Thu, 30 Jun 2022 10:22:49 -0700 Subject: [PATCH] Init jdownloader2 --- homelab/server/config/jdownloader2/.env | 17 +++++++++++++++++ .../config/jdownloader2/docker-compose.yml | 18 ++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 homelab/server/config/jdownloader2/.env create mode 100644 homelab/server/config/jdownloader2/docker-compose.yml diff --git a/homelab/server/config/jdownloader2/.env b/homelab/server/config/jdownloader2/.env new file mode 100644 index 00000000..229b4edd --- /dev/null +++ b/homelab/server/config/jdownloader2/.env @@ -0,0 +1,17 @@ +DOCKER_DATA=/home/joey/data/jdownloader2 +DOWNLOAD_DIR=/mnt/nas/torrenting/jdownloader2 +#USER_ID=1000 +#GROUP_ID=1000 +#SUP_GROUP_IDS= +#UMASK= +TZ=America/Los_Angeles +#KEEP_APP_RUNNING=0 +#APP_NICENESS= +#CLEAN_TMP_DIR=1 +#DISPLAY_WIDTH=1280 +#DISPLAY_HEIGHT=768 +#SECURE_CONNECTION=0 +#VNC_PASSWORD= +#X11VNC_EXTRA_OPTS= +#ENABLE_CJK_FONT=0 +#INSTALL_EXTRA_PKGS= \ No newline at end of file diff --git a/homelab/server/config/jdownloader2/docker-compose.yml b/homelab/server/config/jdownloader2/docker-compose.yml new file mode 100644 index 00000000..011bc284 --- /dev/null +++ b/homelab/server/config/jdownloader2/docker-compose.yml @@ -0,0 +1,18 @@ +version: '3' +services: + jdl: + image: jlesage/jdownloader-2 + container_name: jdownloader2 + 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 + +networks: + web: + external: true \ No newline at end of file