-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
148 lines (145 loc) · 3.37 KB
/
docker-compose.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
# to run: docker-compose run
#
# Create a .env file in the same folder as this file and change the variables.
# MOUNT_POINT=/tmp/
# VPN_PROVIDER=changeme
# VPN_CONFIG=changeme
# VPN_USERNAME=changeme
# VPN_PASSWORD=changeme
#
#
version: "2"
services:
vpn:
image: ghcr.io/bubuntux/nordvpn:v3.12.1.1-1
container_name: vpn
network_mode: bridge
cap_add:
- SYS_MODULE
- NET_ADMIN
environment:
- USER=${VPN_USERNAME}
- PASS=${VPN_PASSWORD}
- NETWORK=172.16.0.0/12;192.168.0.0/16;10.0.0.0/8
- TECHNOLOGY=NordLynx
- CONNECT=--group p2p pt
- TZ=Europe/Zurich
ulimits:
memlock:
soft: -1
hard: -1
ports:
#- "8112:8112" # deluge
- "9091:9091" # transmission
- "58846:58846"
restart: unless-stopped
#deluge:
# image: linuxserver/deluge
# container_name: deluge
# depends_on:
# - vpn
# network_mode: service:vpn
# environment:
# - PUID=1000
# - PGID=100
# - TZ=Europe/Berlin
# - UMASK_SET=022 #optional
# - DELUGE_LOGLEVEL=error #optional
# volumes:
# - ${MOUNT_POINT}/deluge-config:/config
# - ${MOUNT_POINT}/transmission:/downloads
# restart: unless-stopped
transmission:
image: linuxserver/transmission
container_name: transmission-openvpn
restart: always
#ports:
# - "9091:9091"
#networks:
# - plexnet
network_mode: service:vpn
depends_on:
- vpn
environment:
- OPENVPN_PROVIDER=${VPN_PROVIDER}
- OPENVPN_CONFIG=${VPN_CONFIG}
- OPENVPN_USERNAME=${VPN_USERNAME}
- OPENVPN_PASSWORD=${VPN_PASSWORD}
- OPENVPN_OPTS="--inactive 3600 --ping 10 --ping-exit 60"
volumes:
- ${MOUNT_POINT}/transmission:/downloads #/data
- /etc/localtime:/etc/localtime:ro
radarr:
image: linuxserver/radarr
container_name: radarr
restart: always
ports:
- "7878:7878"
networks:
- plexnet
environment:
- PGID=1000
- PUID=1000
- TZ=Europe/London
volumes:
- ${MOUNT_POINT}/radarr-config:/config
- ${MOUNT_POINT}/transmission:/downloads/
- ${MOUNT_POINT}/plex/movies:/movies
sonarr:
image: linuxserver/sonarr
container_name: sonarr
restart: always
ports:
- "8989:8989"
networks:
- plexnet
environment:
- PGID=1000
- PUID=1000
- TZ=Europe/London
volumes:
- ${MOUNT_POINT}/sonarr/config:/config
- ${MOUNT_POINT}/plex/tv:/tv
- ${MOUNT_POINT}/transmission:/downloads
jackett:
image: linuxserver/jackett
container_name: jackett
restart: always
networks:
- plexnet
environment:
- PGID=1000
- PUID=1000
- TZ=Europe/London
volumes:
- ${MOUNT_POINT}/jackett/config:/config
- ${MOUNT_POINT}/jackett/downloads:/downloads
ports:
- "9117:9117"
plex:
image: linuxserver/plex
container_name: plex
restart: always
ports:
- "32400:32400"
- "1900:1900"
- "3005:3005"
- "5353:5353"
- "8324:8324"
- "32410:32410"
- "32412:32412"
- "32413:32413"
- "32414:32414"
- "32469:32469"
networks:
- plexnet
environment:
- PGID=1000
- PUID=1000
- TZ=Europe/London
volumes:
- ${MOUNT_POINT}/plex-config:/config
- ${MOUNT_POINT}/plex:/data
networks:
plexnet:
driver: bridge