media-stack/docker-compose.yml

211 lines
7.0 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:
2023-08-12 06:53:42 +00:00
# To use/enable VPN, Run this compose file with --profile=vpn. Its highly recommended to use VPN.
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.
2023-08-12 06:21:26 +00:00
profiles: ["vpn"]
2022-08-12 09:45:01 +00:00
container_name: vpn
2024-01-07 13:46:02 +00:00
image: qmcgaw/gluetun:v3.36.0
2022-08-12 09:45:01 +00:00
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
2023-08-12 06:53:42 +00:00
## For list of server countries, visit https://raw.githubusercontent.com/qdm12/gluetun/master/internal/storage/servers.json
2022-08-12 09:45:01 +00:00
2023-08-11 14:42:13 +00:00
- SERVER_COUNTRIES=${SERVER_COUNTRIES:-Switzerland}
2022-08-12 09:45:01 +00:00
2023-08-12 06:53:42 +00:00
# - FREE_ONLY=on # Valid with protonvpn only. Value willbe set "on" if using free subscription provided by protonvpn
2022-08-12 09:45:01 +00:00
## Enable below if VPN_SERVICE_PROVIDER=custom
2022-11-10 18:13:51 +00:00
# - VPN_TYPE=openvpn # or wireguard.
2022-08-12 09:45:01 +00:00
## 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
2023-08-12 06:53:42 +00:00
## Enable volume if VPN_SERVICE_PROVIDER=custom and VPN_TYPE=openvpn is used
2022-08-12 09:45:01 +00:00
# volumes:
# - /yourpath/yourconfig.conf:/gluetun/config.conf:ro
networks:
- mynetwork
2023-08-12 06:53:42 +00:00
# Uncomment/enable below ports if VPN is used/enabled
# ports:
# # qbittorrent ports
# - 5080:5080
# - 6881:6881
# - 6881:6881/udp
# # prowlarr ports
# - 9696:9696
restart: "unless-stopped"
2022-08-09 09:56:40 +00:00
2023-08-12 06:53:42 +00:00
## Default credentials of qBittorrent - 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
2024-01-07 13:46:02 +00:00
image: lscr.io/linuxserver/qbittorrent:4.6.2
2023-08-12 06:53:42 +00:00
# Unomment below if vpn is enabled
# depends_on: # Uncomment this line if vpn is enabled
# - vpn # Uncomment this line if vpn is enabled
# Comment below lines if VPN is enabled
networks: # Comment this line if vpn is enabled
- mynetwork # Comment this line if vpn is enabled
# Unomment below line if vpn is enabled
# network_mode: service:vpn
2023-08-12 06:54:09 +00:00
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
2023-08-12 06:53:42 +00:00
## Comment/Disable below ports if VPN is enabled
ports:
- 5080:5080
- 6881:6881
- 6881:6881/udp
2022-07-05 15:01:32 +00:00
restart: "unless-stopped"
2023-08-12 06:53:42 +00:00
2022-07-05 15:01:32 +00:00
radarr:
container_name: radarr
2024-01-07 13:46:02 +00:00
image: lscr.io/linuxserver/radarr:5.2.6
2022-07-12 12:57:45 +00:00
networks:
- mynetwork # Comment this line if VPN is enabled
## Uncomment below lines if VPN is enabled
# mynetwork:
# ipv4_address: ${RADARR_STATIC_CONTAINER_IP} # It should be available IPv4 address in range of docker network `mynetwork` e.g. 172.20.0.2
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:
2023-03-22 08:05:50 +00:00
image: linuxserver/sonarr:4.0.0-develop
2022-07-10 11:17:31 +00:00
container_name: sonarr
2022-07-12 12:57:45 +00:00
networks:
- mynetwork # Comment this line if VPN is enabled
## Uncomment below lines if VPN is enabled
# mynetwork:
# ipv4_address: ${SONARR_STATIC_CONTAINER_IP} # It should be available IPv4 address in range of docker network `mynetwork` e.g. 172.20.0.2
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-08-09 12:21:34 +00:00
prowlarr:
container_name: prowlarr
2024-01-07 13:46:02 +00:00
image: linuxserver/prowlarr:1.11.4
2023-08-12 06:53:42 +00:00
# Uncomment below if vpn is enabled
# depends_on: # Uncomment this line if vpn is enabled
# - vpn # Uncomment this line if vpn is enabled
# network_mode: service:vpn # Uncomment this line if vpn is enabled
networks: # Comment this line if vpn is enabled
- mynetwork # Comment this line if vpn is enabled
2022-08-09 12:21:34 +00:00
environment:
- PUID=1000
- PGID=1000
- TZ=UTC
volumes:
- prowlarr-config:/config
2023-08-12 06:53:42 +00:00
# Comment below ports if VPN is enabled.
ports:
- 9696:9696
2022-08-09 12:21:34 +00:00
restart: unless-stopped
2022-07-05 15:01:32 +00:00
jellyfin:
2024-01-07 13:46:02 +00:00
image: linuxserver/jellyfin:10.8.13
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
2023-03-22 08:05:50 +00:00
2023-09-17 14:38:54 +00:00
# Doc: https://github.com/navilg/cleanmyarr
2023-03-22 08:05:50 +00:00
# cleanmyarr:
# depends_on:
# - radarr
# - sonarr
2023-09-17 14:38:54 +00:00
# image: linuxshots/cleanmyarr:0.8.1
2023-03-22 08:05:50 +00:00
# container_name: cleanmyarr
# networks:
# - mynetwork
# volumes:
# - cleanmyarr-config:/config
2023-09-17 14:38:54 +00:00
# restart: unless-stopped
# environment:
# - CMA_MAINTENANCE_CYCLE=${CMA_MAINTENANCE_CYCLE:-""}
# - CMA_DELETE_AFTER_DAYS=${CMA_DELETE_AFTER_DAYS:-""}
# - CMA_ENABLE_EMAIL_NOTIFICATION=${CMA_ENABLE_EMAIL_NOTIFICATION:-""}
# - CMA_SMTP_USERNAME=${CMA_SMTP_USERNAME:-""}
# - CMA_SMTP_ENCODED_PASSWORD=${CMA_SMTP_ENCODED_PASSWORD:-""}
# - CMA_SMTP_TO_EMAILS=${CMA_SMTP_TO_EMAILS:-""}
# - CMA_ENABLE_GOTIFY_NOTIFICATION=${CMA_ENABLE_GOTIFY_NOTIFICATION:-""}
# - CMA_GOTIFY_URL=${CMA_GOTIFY_URL:-""}
# - CMA_GOTIFY_ENCODED_APP_TOKEN=${CMA_GOTIFY_ENCODED_APP_TOKEN:-""}
# - CMA_ENABLE_TELEGRAM_NOTIFICATION=${CMA_ENABLE_TELEGRAM_NOTIFICATION:-""}
# - CMA_TELEGRAM_ENCODED_BOT_TOKEN=${CMA_TELEGRAM_ENCODED_BOT_TOKEN:-""}
# - CMA_TELEGRAM_CHAT_ID=${CMA_TELEGRAM_CHAT_ID:-""}
# - CMA_MONITOR_RADARR=${CMA_MONITOR_RADARR:-""}
# - CMA_RADARR_URL=${CMA_RADARR_URL:-""}
# - CMA_RADARR_ENCODED_API_KEY=${CMA_RADARR_ENCODED_API_KEY:-""}
# - CMA_RADARR_ENABLE_NOTIFICATION=${CMA_RADARR_ENABLE_NOTIFICATION:-""}
2022-07-05 15:01:32 +00:00
volumes:
torrent-downloads:
2022-07-05 15:01:32 +00:00
radarr-config:
2022-07-10 11:17:31 +00:00
sonarr-config:
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:
2023-08-12 06:21:26 +00:00
# cleanmyarr-config:
2022-07-12 12:50:39 +00:00
networks:
mynetwork:
external: true