add chromium to gluetun-qbittorrent stack

master
meftimes 2023-11-10 22:25:56 -05:00
parent 94abae8bc8
commit cd57ce8b4b
2 changed files with 24 additions and 6 deletions

View File

@ -7,9 +7,9 @@ services:
cap_add: cap_add:
- NET_ADMIN - NET_ADMIN
ports: ports:
- 8080:8080 # qbit - 40605:6881 # qbittorrent
- 40605:6881 # qbit - 40605:6881/udp # qbittorrent
- 40605:6881/udp # qbit - 3000:3000 # chromium
environment: environment:
- VPN_SERVICE_PROVIDER=mullvad - VPN_SERVICE_PROVIDER=mullvad
- VPN_TYPE=wireguard - VPN_TYPE=wireguard
@ -29,7 +29,7 @@ services:
- TZ=America/New_York - TZ=America/New_York
- WEBUI_PORT=8080 - WEBUI_PORT=8080
volumes: volumes:
- /media/qbittorrent/config:/config - /home/meftimes/docker/gluetun-qbittorrent-chromium/qbittorrent-config:/config
- /media/qbittorrent/downloads:/downloads - /media/qbittorrent/downloads:/downloads
restart: unless-stopped restart: unless-stopped
network_mode: service:gluetun network_mode: service:gluetun
@ -41,9 +41,27 @@ services:
- "traefik.http.routers.qbittorrent-websecure.entrypoints=websecure" - "traefik.http.routers.qbittorrent-websecure.entrypoints=websecure"
- "traefik.http.routers.qbittorrent-websecure.rule=Host(`qbittorrent.meftimes.com`)" - "traefik.http.routers.qbittorrent-websecure.rule=Host(`qbittorrent.meftimes.com`)"
- "traefik.http.routers.qbittorrent-websecure.service=qbittorrent-websecure" - "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" - "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: networks:
proxy: proxy:
external: true external: true