From f6a0ec36730bce2b2aed228903dbbec75e42d893 Mon Sep 17 00:00:00 2001 From: meftimes Date: Sat, 11 Nov 2023 19:39:23 -0500 Subject: [PATCH] qbit watch dir not working, switch to transmission --- gluetun-transmission-chromium/.env | 2 + .../gluetun-transmission-chromium.yml | 73 +++++++++++++++++++ 2 files changed, 75 insertions(+) create mode 100644 gluetun-transmission-chromium/.env create mode 100644 gluetun-transmission-chromium/gluetun-transmission-chromium.yml diff --git a/gluetun-transmission-chromium/.env b/gluetun-transmission-chromium/.env new file mode 100644 index 0000000..6aa57e2 --- /dev/null +++ b/gluetun-transmission-chromium/.env @@ -0,0 +1,2 @@ +WIREGUARD_PRIVATE_KEY=private_key_goes_here_see_https://github.com/qdm12/gluetun-wiki/blob/main/setup/providers/mullvad.md +WIREGUARD_ADDRESSES=addresses_go_here diff --git a/gluetun-transmission-chromium/gluetun-transmission-chromium.yml b/gluetun-transmission-chromium/gluetun-transmission-chromium.yml new file mode 100644 index 0000000..7d14dc0 --- /dev/null +++ b/gluetun-transmission-chromium/gluetun-transmission-chromium.yml @@ -0,0 +1,73 @@ +version: "2.1" + +services: + gluetun: + image: qmcgaw/gluetun + container_name: gluetun + cap_add: + - NET_ADMIN + ports: + - 40605:40605 # transmission + - 40605:40605/udp # transmission + - 3000:3000 # chromium + environment: + - VPN_SERVICE_PROVIDER=mullvad + - VPN_TYPE=wireguard + - SERVER_CITIES=Toronto + env_file: + - .env + restart: unless-stopped + networks: + - proxy + + transmission: + image: lscr.io/linuxserver/transmission:version-3.00-r8 + container_name: transmission + environment: + - PUID=1001 + - PGID=1001 + - TZ=America/New_York + - PEERPORT=40605 + volumes: + - /home/meftimes/docker/gluetun-qbittorrent-chromium/transmission-config:/config + - /home/meftimes/docker/transmission/downloads:/downloads + - /home/meftimes/docker/gluetun-qbittorrent-chromium/watch:/watch + # ports: + # - 9091:9091 + # - 40605:40605 + # - 40605:40605/udp + labels: + - "traefik.enable=true" + - "traefik.passHostHeader=true" + - "traefik.http.routers.transmission.entrypoints=websecure" + - "traefik.http.routers.transmission.rule=Host(`transmission.meftimes.com`)" + - "traefik.http.routers.transmission.tls.certresolver=letsencrypt" + - "traefik.http.routers.transmission.middlewares=authelia@docker" + - "traefik.http.services.transmission.loadbalancer.server.port=9091" + network_mode: service:gluetun + depends_on: + gluetun: + condition: service_healthy + restart: unless-stopped + + chromium: + image: lscr.io/linuxserver/chromium:latest + container_name: chromium + security_opt: + - seccomp:unconfined #optional + environment: + - PUID=1001 + - PGID=1001 + - TZ=America/New_York + volumes: + - /home/meftimes/docker/gluetun-qbittorrent-chromium/chromium-config:/config + network_mode: service:gluetun + depends_on: + gluetun: + condition: service_healthy + shm_size: "1gb" + restart: unless-stopped + +networks: + proxy: + external: true