forked from anandslab/docker-traefik
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose-t2-vpn.yml
executable file
·67 lines (63 loc) · 2.21 KB
/
docker-compose-t2-vpn.yml
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
version: "3.7"
########################### SERVICES
services:
############################# FRONTENDS
# Jackett - Torrent proxy
# Set url_base in Jackett settings if using PathPrefix
jackett:
image: linuxserver/jackett:latest
container_name: jackett
restart: always
network_mode: container:transmission-vpn
security_opt:
- no-new-privileges:true
volumes:
- $USERDIR/docker/jackett:/config
- $USERDIR/Downloads:/downloads
- "/etc/localtime:/etc/localtime:ro"
environment:
PUID: $PUID
PGID: $PGID
TZ: $TZ
labels:
- "traefik.enable=true"
## HTTP Routers
- "traefik.http.routers.jackett-rtr.entrypoints=https"
- "traefik.http.routers.jackett-rtr.rule=Host(`jackett.$DOMAINNAME`)"
- "traefik.http.routers.jackett-rtr.tls=true"
# - "traefik.http.routers.jackett-rtr.tls.certresolver=dns-cloudflare"
## Middlewares
- "traefik.http.routers.jackett-rtr.middlewares=chain-oauth@file"
## HTTP Services
- "traefik.http.routers.jackett-rtr.service=jackett-svc"
- "traefik.http.services.jackett-svc.loadbalancer.server.port=9117"
# qBittorrent - Torrent downloader
# Needs trailing / if using PathPrefixStrip
qbittorrent:
image: linuxserver/qbittorrent:latest
container_name: qbittorrent
restart: always
network_mode: container:transmission-vpn
security_opt:
- no-new-privileges:true
volumes:
- $USERDIR/docker/qbittorrent:/config
- $USERDIR/Downloads:/downloads
environment:
PUID: $PUID
PGID: $PGID
TZ: $TZ
UMASK_SET: 002
WEBUI_PORT: 8168
labels:
- "traefik.enable=true"
## HTTP Routers
- "traefik.http.routers.qbittorrent-rtr.entrypoints=https"
- "traefik.http.routers.qbittorrent-rtr.rule=Host(`qbit.$DOMAINNAME`)"
- "traefik.http.routers.qbittorrent-rtr.tls=true"
# - "traefik.http.routers.qbittorrent-rtr.tls.certresolver=dns-cloudflare"
## Middlewares
- "traefik.http.routers.qbittorrent-rtr.middlewares=chain-oauth@file"
## HTTP Services
- "traefik.http.routers.qbittorrent-rtr.service=qbittorrent-svc"
- "traefik.http.services.qbittorrent-svc.loadbalancer.server.port=8168"