qbittorrent. Initial configuration added.
This commit is contained in:
parent
1b50a7b8be
commit
91b743ac5a
17
qbittorrent/.env.dist
Normal file
17
qbittorrent/.env.dist
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
# User/Group mappings
|
||||||
|
PGID=1000
|
||||||
|
PUID=1000
|
||||||
|
|
||||||
|
TZ=Europe/Moscow
|
||||||
|
|
||||||
|
# Web interface port
|
||||||
|
WEBUI_PORT=8090
|
||||||
|
|
||||||
|
# Volume mapping
|
||||||
|
CONFIG_PATH=./config
|
||||||
|
# This will be the same inside and outside of a container
|
||||||
|
DOWNLOAD_PATH=/mnt/downloads
|
||||||
|
|
||||||
|
# Logs
|
||||||
|
LOG_MAX_SIZE=5m
|
||||||
|
LOG_MAX_FILE=5
|
2
qbittorrent/.gitignore
vendored
Normal file
2
qbittorrent/.gitignore
vendored
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
config/*
|
||||||
|
!config/.gitkeep
|
0
qbittorrent/config/.gitkeep
Normal file
0
qbittorrent/config/.gitkeep
Normal file
22
qbittorrent/docker-compose.yml
Normal file
22
qbittorrent/docker-compose.yml
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
version: '3.7'
|
||||||
|
|
||||||
|
services:
|
||||||
|
qbittorrent:
|
||||||
|
# https://hub.docker.com/r/linuxserver/qbittorrent
|
||||||
|
image: linuxserver/qbittorrent:latest
|
||||||
|
container_name: qbittorrent
|
||||||
|
#network_mode: "host"
|
||||||
|
ports:
|
||||||
|
- "${WEBUI_PORT}:${WEBUI_PORT}/tcp"
|
||||||
|
- "6881:6881/tcp"
|
||||||
|
- "6881:6881/udp"
|
||||||
|
env_file: .env
|
||||||
|
volumes:
|
||||||
|
- "${CONFIG_PATH}:/config"
|
||||||
|
- "${DOWNLOAD_PATH}:${DOWNLOAD_PATH}"
|
||||||
|
restart: unless-stopped
|
||||||
|
logging:
|
||||||
|
driver: "json-file"
|
||||||
|
options:
|
||||||
|
max-size: "${LOG_MAX_SIZE:-5m}"
|
||||||
|
max-file: "${LOG_MAX_FILE:-5}"
|
Loading…
Reference in a new issue