media-stack/docker-compose.yml

207 lines
5.9 KiB
YAML
Raw Normal View History

version: "3.9"
2022-07-12 13:00:38 +00:00
name: media-stack
2022-07-05 15:01:32 +00:00
services:
2022-08-12 09:45:01 +00:00
vpn:
## Read https://github.com/qdm12/gluetun/wiki for details on configuring VPN for different service providers.
profiles: ["vpn", "stack-2"]
container_name: vpn
image: qmcgaw/gluetun
cap_add:
- NET_ADMIN
environment:
- VPN_SERVICE_PROVIDER=${VPN_SERVICE_PROVIDER:-nordvpn} # Valid values: nordvpn, expressvpn, protonvpn, surfshark or custom
2022-08-12 11:15:46 +00:00
- OPENVPN_USER=${OPENVPN_USER:-""}
- OPENVPN_PASSWORD=${OPENVPN_PASSWORD:-""}
2022-08-12 09:45:01 +00:00
## For list of server regions and countries, visit https://raw.githubusercontent.com/qdm12/gluetun/master/internal/storage/servers.json
## SERVER_REGIONS is required for NordVPN and Surfshark VPN. Comment SERVER_COUNTRIES if SERVER_REGIONS is used.
- SERVER_REGIONS=${SERVER_REGIONS:-Switzerland}
## SERVER_COUNTRIES is required for ExpressVPN and ProtonVPN. Comment SERVER_REGIONS if SERVER_COUNTRIES is used.
2022-08-20 13:14:41 +00:00
# - SERVER_COUNTRIES=${SERVER_COUNTRIES:-Netherlands}
# - FREE_ONLY=on # Valid with protonvpn only. on if using free service provided by protonvpn
2022-08-12 09:45:01 +00:00
## Enable below if VPN_SERVICE_PROVIDER=custom
# - VPN_TYPE=openvpn # or wiregiuard.
## If VPN_TYPE is openvpn
# - OPENVPN_CUSTOM_CONFIG=/gluetun/custom.conf
## If VPN_TYPE is wireguard. Replace below env variables as required.
# - VPN_ENDPOINT_IP=1.2.3.4 # Replace with your wg endpoint ip or domain
# - VPN_ENDPOINT_PORT=51820 # Replace with wg server port
# - WIREGUARD_PUBLIC_KEY=wAUaJMhAq3NFutLHIdF8AN0B5WG8RndfQKLPTEDHal0= # Replace with your wg public key
# - WIREGUARD_PRIVATE_KEY=wOEI9rqqbDwnN8/Bpp22sVz48T71vJ4fYmFWujulwUU= # Replace with your wg client private key
# - WIREGUARD_PRESHARED_KEY=xOEI9rqqbDwnN8/Bpp22sVz48T71vJ4fYmFWujulwUU= # Replaced with your wg pre-shared key
# - WIREGUARD_ADDRESSES="10.64.222.21/32" # Replace with wg address
## Enable volume if custom VPN_SERVICE_PROVIDER is used
# volumes:
# - /yourpath/yourconfig.conf:/gluetun/config.conf:ro
networks:
- mynetwork
ports:
# qbittorrent ports
- 5080:5080
- 6881:6881
- 6881:6881/udp
2022-08-12 11:15:46 +00:00
# Transmission ports. Uncomment below if Transmission is used with VPN
# - 9091:9091
# - 51413:51413
# - 51413:51413/udp
2022-08-12 13:17:06 +00:00
restart: "unless-stopped"
transmission:
2022-08-12 09:45:01 +00:00
profiles: ["tx", "stack-1"]
container_name: transmission
2022-10-08 08:02:56 +00:00
image: lscr.io/linuxserver/transmission:3.00-r5-ls137
networks:
- mynetwork
2022-08-12 11:15:46 +00:00
# network_mode: service:vpn # Uncomment this line if vpn is enabled
environment:
- PUID=1000
- PGID=1000
- TZ=UTC
- USER=admin
- PASS=nimdatx
2022-08-12 09:45:01 +00:00
2022-08-12 11:15:46 +00:00
## Comment below ports if VPN is enabled.
ports:
- 9091:9091
- 51413:51413
- 51413:51413/udp
volumes:
- tx-config:/config
- torrent-downloads:/downloads
- tx-watch:/watch
restart: "unless-stopped"
2022-08-09 09:56:40 +00:00
## Default credentials - Username: admin password: adminadmin ##
2022-08-09 11:36:55 +00:00
## Change password after install from UI --> Tools --> Options --> WebUI ##
2022-08-09 09:56:40 +00:00
qbittorrent:
container_name: qbittorrent
2022-08-12 09:45:01 +00:00
profiles: ["qbt", "stack-2"]
2022-10-08 08:04:01 +00:00
image: lscr.io/linuxserver/qbittorrent:4.4.5-r0-ls219
2022-07-12 12:57:45 +00:00
networks:
- mynetwork
2022-08-12 09:45:01 +00:00
network_mode: service:vpn # Comment this line if vpn is disabled
2022-07-05 15:01:32 +00:00
environment:
- PUID=1000
- PGID=1000
2022-07-25 07:54:42 +00:00
- TZ=UTC
2022-08-09 09:56:40 +00:00
- WEBUI_PORT=5080
2022-07-05 15:01:32 +00:00
volumes:
2022-08-09 09:56:40 +00:00
- qbittorrent-config:/config
- torrent-downloads:/downloads
2022-08-12 09:45:01 +00:00
## Uncomment below ports if VPN is disabled.
# ports:
# - 5080:5080
# - 6881:6881
# - 6881:6881/udp
2022-07-05 15:01:32 +00:00
restart: "unless-stopped"
radarr:
2022-08-12 09:45:01 +00:00
profiles: ["base", "radarr", "stack-1", "stack-2"]
2022-07-05 15:01:32 +00:00
container_name: radarr
2022-10-08 08:05:40 +00:00
image: lscr.io/linuxserver/radarr:4.2.4.6635-ls153
2022-07-12 12:57:45 +00:00
networks:
- mynetwork
2022-07-05 15:01:32 +00:00
environment:
- PUID=1000
- PGID=1000
2022-07-25 07:54:42 +00:00
- TZ=UTC
2022-07-05 15:01:32 +00:00
ports:
- 7878:7878
volumes:
- radarr-config:/config
- torrent-downloads:/downloads
2022-07-05 15:01:32 +00:00
restart: "unless-stopped"
2022-07-10 11:17:31 +00:00
sonarr:
2022-08-12 09:45:01 +00:00
profiles: ["base", "sonarr", "stack-1", "stack-2"]
2022-10-08 08:07:06 +00:00
image: lscr.io/linuxserver/sonarr:3.0.9.1549-ls159
2022-07-10 11:17:31 +00:00
container_name: sonarr
2022-07-12 12:57:45 +00:00
networks:
- mynetwork
2022-07-10 11:17:31 +00:00
environment:
- PUID=1000
- PGID=1000
2022-07-25 07:54:42 +00:00
- TZ=UTC
2022-07-10 11:17:31 +00:00
volumes:
- sonarr-config:/config
- torrent-downloads:/downloads
2022-07-10 11:17:31 +00:00
ports:
- 8989:8989
restart: unless-stopped
2022-07-05 15:01:32 +00:00
jackett:
2022-08-12 09:45:01 +00:00
profiles: ["jackett", "stack-1"]
2022-07-05 15:01:32 +00:00
container_name: jackett
2022-10-08 08:07:58 +00:00
image: lscr.io/linuxserver/jackett:v0.20.2093-ls77
2022-07-12 12:57:45 +00:00
networks:
- mynetwork
2022-07-05 15:01:32 +00:00
environment:
- PUID=1000
- PGID=1000
2022-07-25 07:54:42 +00:00
- TZ=UTC
2022-07-05 15:01:32 +00:00
volumes:
- jackett-config:/config
- jackett-blackhole:/downloads
2022-07-05 15:01:32 +00:00
ports:
- 9117:9117
restart: unless-stopped
2022-08-09 12:21:34 +00:00
prowlarr:
2022-08-12 09:45:01 +00:00
profiles: ["prowlarr", "stack-2"]
2022-08-09 12:21:34 +00:00
container_name: prowlarr
2022-10-08 08:09:06 +00:00
image: linuxserver/prowlarr:develop-0.4.6.1969-ls69
2022-08-09 12:21:34 +00:00
networks:
- mynetwork
environment:
- PUID=1000
- PGID=1000
- TZ=UTC
volumes:
- prowlarr-config:/config
ports:
- 9696:9696
restart: unless-stopped
2022-07-05 15:01:32 +00:00
jellyfin:
2022-08-12 09:45:01 +00:00
profiles: ["base", "jelly", "stack-1", "stack-2"]
2022-08-31 12:45:47 +00:00
image: lscr.io/linuxserver/jellyfin:10.8.4-1-ls177
2022-07-05 15:01:32 +00:00
container_name: jellyfin
2022-07-12 12:57:45 +00:00
networks:
- mynetwork
2022-07-05 15:01:32 +00:00
environment:
- PUID=1000
- PGID=1000
2022-07-25 07:54:42 +00:00
- TZ=UTC
2022-07-05 15:01:32 +00:00
volumes:
2022-07-06 06:37:17 +00:00
- jellyfin-config:/config
- torrent-downloads:/data
2022-07-24 15:59:55 +00:00
# devices:
# - /dev/videoN:/dev/videoN # Mount GPU device
2022-07-05 15:01:32 +00:00
ports:
- 8096:8096
- 7359:7359/udp
2022-07-05 15:48:44 +00:00
- 8920:8920
2022-07-05 15:01:32 +00:00
restart: unless-stopped
volumes:
torrent-downloads:
2022-07-05 15:01:32 +00:00
radarr-config:
2022-07-10 11:17:31 +00:00
sonarr-config:
2022-07-05 15:01:32 +00:00
jackett-config:
jackett-blackhole:
2022-08-09 12:21:34 +00:00
prowlarr-config:
2022-07-05 15:01:32 +00:00
jellyfin-config:
2022-08-09 09:56:40 +00:00
qbittorrent-config:
tx-config:
tx-watch:
2022-07-12 12:50:39 +00:00
networks:
mynetwork:
external: true