forked from anandslab/docker-traefik
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-t2-vpn.yml
executable file
·111 lines (105 loc) · 3.52 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
version: "3.7"
########################### NETWORKS
networks:
t2_proxy:
external:
name: t2_proxy
default:
driver: bridge
########################### SERVICES
services:
############################# FRONTENDS
# Jackett - Torrent proxy
# Set url_base in Jackett settings if using PathPrefix
jackett:
image: linuxserver/jackett
container_name: jackett
restart: always
network_mode: container:transmission-vpn
# depends_on:
# - transmission-vpn
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=noauth-chain@file"
## HTTP Services
- "traefik.http.routers.jackett-rtr.service=jackett-svc"
- "traefik.http.services.jackett-svc.loadbalancer.server.port=9117"
# jDownloader - Download management
jdownloader:
image: jlesage/jdownloader-2
container_name: jdownloader
restart: always
# network_mode: container:transmission-vpn
networks:
- t2_proxy
# depends_on:
# - transmission-vpn
volumes:
- ${USERDIR}/Downloads/completed:/output
- ${USERDIR}/docker/jdownloader:/config
environment:
USER_ID: ${PUID}
GROUP_ID: ${PGID}
TZ: ${TZ}
UMASK_SET: 002
KEEP_APP_RUNNIN: 1
CLEAN_TMP_DIR: 1
DISPLAY_WIDTH: 1600
DISPLAY_HEIGHT: 960
VNC_PASSWORD: ${JDOWN_VNC_PASSWD}
labels:
- "traefik.enable=true"
## HTTP Routers
- "traefik.http.routers.jdownloader-rtr.entrypoints=https"
- "traefik.http.routers.jdownloader-rtr.rule=Host(`jdown.$DOMAINNAME`)"
- "traefik.http.routers.jdownloader-rtr.tls=true"
- "traefik.http.routers.jdownloader-rtr.tls.certresolver=dns-cloudflare"
## Middlewares
- "traefik.http.routers.jdownloader-rtr.middlewares=secure-chain@file"
## HTTP Services
- "traefik.http.routers.jdownloader-rtr.service=jdownloader-svc"
- "traefik.http.services.jdownloader-svc.loadbalancer.server.port=5800"
# qBittorrent - Torrent downloader
# Needs trailing / if using PathPrefixStrip
qbittorrent:
image: linuxserver/qbittorrent
container_name: qbittorrent
restart: always
network_mode: container:transmission-vpn
# depends_on:
# - transmission-vpn
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.jdownloader-rtr.entrypoints=https"
- "traefik.http.routers.jdownloader-rtr.rule=Host(`qbit.$DOMAINNAME`)"
- "traefik.http.routers.jdownloader-rtr.tls=true"
- "traefik.http.routers.jdownloader-rtr.tls.certresolver=dns-cloudflare"
## Middlewares
- "traefik.http.routers.jdownloader-rtr.middlewares=noauth-chain@file"
## HTTP Services
- "traefik.http.routers.jdownloader-rtr.service=jdownloader-svc"
- "traefik.http.services.jdownloader-svc.loadbalancer.server.port=8168"