-
Notifications
You must be signed in to change notification settings - Fork 52
Expand file tree
/
Copy pathcompose.qbittorrent-e2e.postgresql.yaml
More file actions
85 lines (81 loc) · 2.7 KB
/
compose.qbittorrent-e2e.postgresql.yaml
File metadata and controls
85 lines (81 loc) · 2.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
name: qbittorrent-e2e
services:
tracker:
build:
context: .
dockerfile: Containerfile
target: release
image: ${QBT_E2E_TRACKER_IMAGE:?QBT_E2E_TRACKER_IMAGE is required}
restart: "no"
environment:
TORRUST_TRACKER_CONFIG_OVERRIDE_CORE__DATABASE__DRIVER: postgresql
depends_on:
postgres:
condition: service_healthy
volumes:
- type: bind
source: ${QBT_E2E_TRACKER_CONFIG_PATH:?QBT_E2E_TRACKER_CONFIG_PATH is required}
target: /etc/torrust/tracker/tracker.toml
read_only: true
- type: bind
source: ${QBT_E2E_TRACKER_STORAGE_PATH:?QBT_E2E_TRACKER_STORAGE_PATH is required}
target: /var/lib/torrust/tracker
ports:
- "0:${QBT_E2E_TRACKER_HTTP_TRACKER_PORT:?QBT_E2E_TRACKER_HTTP_TRACKER_PORT is required}"
- "0:${QBT_E2E_TRACKER_UDP_PORT:?QBT_E2E_TRACKER_UDP_PORT is required}/udp"
- "0:${QBT_E2E_TRACKER_HTTP_API_PORT:?QBT_E2E_TRACKER_HTTP_API_PORT is required}"
- "0:${QBT_E2E_TRACKER_HEALTH_CHECK_API_PORT:?QBT_E2E_TRACKER_HEALTH_CHECK_API_PORT is required}"
postgres:
image: postgres:17
restart: "no"
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres -d torrust_tracker"]
interval: 3s
retries: 20
start_period: 10s
environment:
POSTGRES_DB: torrust_tracker
POSTGRES_PASSWORD: postgres
POSTGRES_USER: postgres
qbittorrent-seeder:
image: ${QBT_E2E_QBITTORRENT_IMAGE:?QBT_E2E_QBITTORRENT_IMAGE is required}
restart: "no"
environment:
WEBUI_PORT: "8080"
PUID: "1000"
PGID: "1000"
TZ: "UTC"
QBT_LEGAL_NOTICE: "confirm"
volumes:
- type: bind
source: ${QBT_E2E_SEEDER_CONFIG_PATH:?QBT_E2E_SEEDER_CONFIG_PATH is required}
target: /config
- type: bind
source: ${QBT_E2E_SEEDER_DOWNLOADS_PATH:?QBT_E2E_SEEDER_DOWNLOADS_PATH is required}
target: /downloads
- type: bind
source: ${QBT_E2E_SHARED_PATH:?QBT_E2E_SHARED_PATH is required}
target: /shared
ports:
- "0:8080"
qbittorrent-leecher:
image: ${QBT_E2E_QBITTORRENT_IMAGE:?QBT_E2E_QBITTORRENT_IMAGE is required}
restart: "no"
environment:
WEBUI_PORT: "8080"
PUID: "1000"
PGID: "1000"
TZ: "UTC"
QBT_LEGAL_NOTICE: "confirm"
volumes:
- type: bind
source: ${QBT_E2E_LEECHER_CONFIG_PATH:?QBT_E2E_LEECHER_CONFIG_PATH is required}
target: /config
- type: bind
source: ${QBT_E2E_LEECHER_DOWNLOADS_PATH:?QBT_E2E_LEECHER_DOWNLOADS_PATH is required}
target: /downloads
- type: bind
source: ${QBT_E2E_SHARED_PATH:?QBT_E2E_SHARED_PATH is required}
target: /shared
ports:
- "0:8080"