Actualizando configuracion de stacks
This commit is contained in:
8
stacks/qbittorrent/.env.example
Normal file
8
stacks/qbittorrent/.env.example
Normal file
@@ -0,0 +1,8 @@
|
||||
DATA_DIR=./data
|
||||
DOWNLOADS_DIR=./downloads
|
||||
|
||||
PUID=1000
|
||||
PGID=1000
|
||||
TZ=America/Santiago
|
||||
WEBUI_PORT=80
|
||||
TORRENTING_PORT=6881
|
||||
@@ -1,18 +1,5 @@
|
||||
services:
|
||||
qbittorrent:
|
||||
image: lscr.io/linuxserver/qbittorrent:latest
|
||||
environment:
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
- TZ=America/Santiago
|
||||
- WEBUI_PORT=80
|
||||
- TORRENTING_PORT=6881
|
||||
ports:
|
||||
- "6881:6881"
|
||||
volumes:
|
||||
- /srv/dev-disk-by-uuid-1582b800-1f82-407a-a3aa-3460b3390127/docker/qbittorrent:/config:/config
|
||||
- /srv/dev-disk-by-uuid-1582b800-1f82-407a-a3aa-3460b3390127/downloads:/downloads
|
||||
restart: unless-stopped
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.qbittorrent-web.rule=Host(`torrent.skrd.fun`)"
|
||||
@@ -20,8 +7,9 @@ services:
|
||||
- "traefik.http.routers.qbittorrent-web.middlewares=redirect-to-https@file"
|
||||
- "traefik.http.routers.qbittorrent.rule=Host(`torrent.skrd.fun`)"
|
||||
- "traefik.http.routers.qbittorrent.entrypoints=websecure"
|
||||
- "traefik.http.routers.qbittorrent.middlewares=crowdsec@file"
|
||||
- "traefik.http.routers.qbittorrent.tls.certresolver=cf"
|
||||
- "traefik.http.services.qbittorrent.loadbalancer.server.port=80"
|
||||
- "traefik.http.services.qbittorrent.loadbalancer.server.port=${WEBUI_PORT}"
|
||||
networks:
|
||||
default:
|
||||
name: traefik
|
||||
15
stacks/qbittorrent/compose.yml
Normal file
15
stacks/qbittorrent/compose.yml
Normal file
@@ -0,0 +1,15 @@
|
||||
services:
|
||||
qbittorrent:
|
||||
image: lscr.io/linuxserver/qbittorrent:latest
|
||||
environment:
|
||||
- PUID=${PUID}
|
||||
- PGID=${PGID}
|
||||
- TZ=${TZ}
|
||||
- WEBUI_PORT=${WEBUI_PORT}
|
||||
- TORRENTING_PORT=${TORRENTING_PORT}
|
||||
ports:
|
||||
- "${TORRENTING_PORT}:${TORRENTING_PORT}"
|
||||
volumes:
|
||||
- ${DATA_DIR}:/config
|
||||
- ${DOWNLOADS_DIR}:/downloads
|
||||
restart: unless-stopped
|
||||
Reference in New Issue
Block a user