forked from anandslab/docker-traefik
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-t1-vpn.yml
executable file
·156 lines (150 loc) · 5.86 KB
/
docker-compose-t1-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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
version: "3.7"
########################### NETWORKS
networks:
traefik_proxy:
external:
name: traefik_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
networks:
- traefik_proxy
ports:
- "${JACKETT_PORT}:8168"
# 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"
traefik.backend: jackett
traefik.protocol: http
traefik.port: 9117
traefik.frontend.rule: Host:jackett.${DOMAINNAME}
# traefik.frontend.rule: Host:${DOMAINNAME}; PathPrefix: /jackett
traefik.frontend.headers.SSLHost: jackett.${DOMAINNAME}
traefik.docker.network: traefik_proxy
traefik.frontend.passHostHeader: "true"
traefik.frontend.headers.SSLForceHost: "true"
traefik.frontend.headers.SSLRedirect: "true"
traefik.frontend.headers.browserXSSFilter: "true"
traefik.frontend.headers.contentTypeNosniff: "true"
traefik.frontend.headers.forceSTSHeader: "true"
traefik.frontend.headers.STSSeconds: 315360000
traefik.frontend.headers.STSIncludeSubdomains: "true"
traefik.frontend.headers.STSPreload: "true"
traefik.frontend.headers.customResponseHeaders: X-Robots-Tag:noindex,nofollow,nosnippet,noarchive,notranslate,noimageindex
# traefik.frontend.headers.frameDeny: "true" #customFrameOptionsValue overrides this
traefik.frontend.headers.customFrameOptionsValue: 'allow-from https:${DOMAINNAME}'
# traefik.frontend.auth.forward.address: "http://oauth:4181"
# traefik.frontend.auth.forward.authResponseHeaders: X-Forwarded-User
# traefik.frontend.auth.forward.trustForwardHeader: "true"
# jDownloader - Download management
jdownloader:
image: jlesage/jdownloader-2
container_name: jdownloader
restart: always
# network_mode: container:transmission-vpn
networks:
- traefik_proxy
ports:
- "${JDOWNLOADER_PORT}:8168"
# 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"
traefik.backend: jdownloader
traefik.protocol: http
traefik.port: 5800
traefik.frontend.rule: Host:jdown.${DOMAINNAME}
traefik.frontend.headers.SSLHost: jdown.${DOMAINNAME}
traefik.docker.network: traefik_proxy
traefik.frontend.passHostHeader: "true"
traefik.frontend.headers.SSLForceHost: "true"
traefik.frontend.headers.SSLRedirect: "true"
traefik.frontend.headers.browserXSSFilter: "true"
traefik.frontend.headers.contentTypeNosniff: "true"
traefik.frontend.headers.forceSTSHeader: "true"
traefik.frontend.headers.STSSeconds: 315360000
traefik.frontend.headers.STSIncludeSubdomains: "true"
traefik.frontend.headers.STSPreload: "true"
traefik.frontend.headers.customResponseHeaders: X-Robots-Tag:noindex,nofollow,nosnippet,noarchive,notranslate,noimageindex
# traefik.frontend.headers.frameDeny: "true" #customFrameOptionsValue overrides this
traefik.frontend.headers.customFrameOptionsValue: 'allow-from https:${DOMAINNAME}'
traefik.frontend.auth.forward.address: "http://oauth:4181"
traefik.frontend.auth.forward.authResponseHeaders: X-Forwarded-User
traefik.frontend.auth.forward.trustForwardHeader: "true"
# qBittorrent - Torrent downloader
# Needs trailing / if using PathPrefixStrip
qbittorrent:
image: linuxserver/qbittorrent
container_name: qbittorrent
restart: always
# network_mode: container:transmission-vpn
networks:
- traefik_proxy
ports:
- "${QBITTORRENT_PORT}:8168"
# 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"
traefik.backend: qbittorrent
traefik.protocol: http
traefik.port: 8168
traefik.frontend.rule: Host:qbit.${DOMAINNAME}
# traefik.frontend.rule: Host:${DOMAINNAME}; PathPrefix: /qbittorrent
traefik.frontend.headers.SSLHost: qbit.${DOMAINNAME}
traefik.docker.network: traefik_proxy
traefik.frontend.passHostHeader: "true"
traefik.frontend.headers.SSLForceHost: "true"
traefik.frontend.headers.SSLRedirect: "true"
traefik.frontend.headers.browserXSSFilter: "true"
traefik.frontend.headers.contentTypeNosniff: "true"
traefik.frontend.headers.forceSTSHeader: "true"
traefik.frontend.headers.STSSeconds: 315360000
traefik.frontend.headers.STSIncludeSubdomains: "true"
traefik.frontend.headers.STSPreload: "true"
traefik.frontend.headers.customResponseHeaders: X-Robots-Tag:noindex,nofollow,nosnippet,noarchive,notranslate,noimageindex
# traefik.frontend.headers.frameDeny: "true" #customFrameOptionsValue overrides this
traefik.frontend.headers.customFrameOptionsValue: 'allow-from https:${DOMAINNAME}'
traefik.frontend.auth.forward.address: "http://oauth:4181"
traefik.frontend.auth.forward.authResponseHeaders: X-Forwarded-User
traefik.frontend.auth.forward.trustForwardHeader: "true"