vault backup: 2026-08-20 12:35:44
This commit is contained in:
+43
-2
@@ -3,7 +3,7 @@
|
||||
## Docker Hub
|
||||
тут: https://hub.docker.com/
|
||||
|
||||
## Installation Guide
|
||||
## Docker Installation Guide
|
||||
1. Установка Docker
|
||||
```bash
|
||||
apt update && apt upgrade -y
|
||||
@@ -21,7 +21,7 @@ systemctl start docker
|
||||
apt install -y docker-compose
|
||||
```
|
||||
|
||||
## Manual
|
||||
## Docker control
|
||||
1. Просмотр списка образов
|
||||
```bash
|
||||
docker image ls
|
||||
@@ -35,4 +35,45 @@ docker pull redis:7-alpine
|
||||
3. Запуск докер контейнера
|
||||
```bash
|
||||
docker compose up -d
|
||||
```
|
||||
|
||||
## Image containeer control
|
||||
Создаем директорию для проекта и переходим в нее
|
||||
```bash
|
||||
mkdir -p /root/qbittorrent && cd /root/qbittorrent
|
||||
```
|
||||
|
||||
Создаем `docker-compose.yml`
|
||||
```bash
|
||||
nano docker-compose.yml
|
||||
```
|
||||
|
||||
Вставим конфигурационный текст (взять с hub.docker.com)
|
||||
```bash
|
||||
---
|
||||
services:
|
||||
qbittorrent:
|
||||
image: lscr.io/linuxserver/qbittorrent:latest
|
||||
container_name: qbittorrent
|
||||
environment:
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
- TZ=Etc/UTC
|
||||
- WEBUI_PORT=8080
|
||||
- TORRENTING_PORT=6881
|
||||
volumes:
|
||||
- /path/to/qbittorrent/appdata:/config
|
||||
- /path/to/downloads:/downloads #optional
|
||||
ports:
|
||||
- 8080:8080
|
||||
- 6881:6881
|
||||
- 6881:6881/udp
|
||||
stop_grace_period: "10s" #optional
|
||||
restart: unless-stopped
|
||||
|
||||
```
|
||||
|
||||
Запуск
|
||||
```bash
|
||||
docker compose up -d
|
||||
```
|
||||
Reference in New Issue
Block a user