From cd57ce8b4be0e96e21eedd745d2158c69c76ceb6 Mon Sep 17 00:00:00 2001 From: meftimes Date: Fri, 10 Nov 2023 22:25:56 -0500 Subject: [PATCH] add chromium to gluetun-qbittorrent stack --- .../.env | 0 .../gluetun-qbittorrent-chromium.yml | 30 +++++++++++++++---- 2 files changed, 24 insertions(+), 6 deletions(-) rename {gluetun-qbittorrent => gluetun-qbittorrent-chromium}/.env (100%) rename gluetun-qbittorrent/gluetun-qbittorrent.yml => gluetun-qbittorrent-chromium/gluetun-qbittorrent-chromium.yml (63%) diff --git a/gluetun-qbittorrent/.env b/gluetun-qbittorrent-chromium/.env similarity index 100% rename from gluetun-qbittorrent/.env rename to gluetun-qbittorrent-chromium/.env diff --git a/gluetun-qbittorrent/gluetun-qbittorrent.yml b/gluetun-qbittorrent-chromium/gluetun-qbittorrent-chromium.yml similarity index 63% rename from gluetun-qbittorrent/gluetun-qbittorrent.yml rename to gluetun-qbittorrent-chromium/gluetun-qbittorrent-chromium.yml index 3d7a118..84e0dee 100644 --- a/gluetun-qbittorrent/gluetun-qbittorrent.yml +++ b/gluetun-qbittorrent-chromium/gluetun-qbittorrent-chromium.yml @@ -7,9 +7,9 @@ services: cap_add: - NET_ADMIN ports: - - 8080:8080 # qbit - - 40605:6881 # qbit - - 40605:6881/udp # qbit + - 40605:6881 # qbittorrent + - 40605:6881/udp # qbittorrent + - 3000:3000 # chromium environment: - VPN_SERVICE_PROVIDER=mullvad - VPN_TYPE=wireguard @@ -19,7 +19,7 @@ services: restart: unless-stopped networks: - proxy - + qbittorrent: image: lscr.io/linuxserver/qbittorrent:4.6.0-r0-ls294 container_name: qbittorrent @@ -29,7 +29,7 @@ services: - TZ=America/New_York - WEBUI_PORT=8080 volumes: - - /media/qbittorrent/config:/config + - /home/meftimes/docker/gluetun-qbittorrent-chromium/qbittorrent-config:/config - /media/qbittorrent/downloads:/downloads restart: unless-stopped network_mode: service:gluetun @@ -41,9 +41,27 @@ services: - "traefik.http.routers.qbittorrent-websecure.entrypoints=websecure" - "traefik.http.routers.qbittorrent-websecure.rule=Host(`qbittorrent.meftimes.com`)" - "traefik.http.routers.qbittorrent-websecure.service=qbittorrent-websecure" - # - "traefik.http.routers.qbittorrent.middlewares=authelia@docker" + # - "traefik.http.routers.qbittorrent.middlewares=authelia@docker" # not working currently - "traefik.http.services.qbittorrent-websecure.loadbalancer.server.port=8080" + 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