forked from gemdo/gluetun-qbittorrent-port-manager
-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
31 lines (31 loc) · 1.16 KB
/
Copy pathdocker-compose.yml
File metadata and controls
31 lines (31 loc) · 1.16 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
gluetun-qbittorrent-port-manager:
image: <build locally, and upload to your own docker registry, add path here>
restart: unless-stopped
network_mode: service:gluetun
environment:
QBITTORRENT_SERVER: localhost # IP Address of qbittorrent
QBITTORRENT_PORT: 8080
QBITTORRENT_USER: admin # username
QBITTORRENT_PASS: adminadmin # password
HTTP_S: http # Select 'http' or 'https' depending on if you use certificates.
GLUETUN_HOST: localhost # IP or FQDN of gluetun control server
GLUETUN_PORT: 8000 # port of gluetun control server
RECHECK_TIME: 60 # number of seconds between checks to gluetun server for port
depends_on:
gluetun:
condition: service_healthy
required: true
restart: true
qbittorrent:
condition: service_healthy
required: true
restart: true
healthcheck:
test: curl -sf https://www.google.com/ || exit 1
interval: 30s
timeout: 10s
start_period: 20s
retries: 3
# Uncomment below if using deunhealth in your stack to restart unhealthy containers
#labels:
# - deunhealth.restart.on.unhealthy=true