yams/docker-compose.example.yaml

115 lines
3.0 KiB
YAML

version: "3"
services:
# Emby is used to serve your media to the client devices
emby:
image: ghcr.io/linuxserver/emby
container_name: emby
environment:
- PUID=<your_PUID>
- PGID=<your_PGID>
volumes:
- <media_folder>/movies:/data/movies
- <media_folder>/tvshows:/data/tvshows
- <install_location>/config/emby:/config
ports:
- 8096:8096
restart: unless-stopped
# qBitorrent is used to download torrents
qbittorrent:
image: ghcr.io/linuxserver/qbittorrent
container_name: qbittorrent
environment:
- PUID=<your_PUID>
- PGID=<your_PGID>
- WEB_UI_PORT=8080
volumes:
- <media_folder>/downloads:/downloads
- <install_location>/config/qbittorrent:/config
restart: unless-stopped
ports: # qbittorrent
- 8080:8080 # qbittorrent
#network_mode: "service:gluetun"
# Sonarr is used to query, add downloads to the download queue and index TV shows
sonarr:
image: ghcr.io/linuxserver/sonarr
container_name: sonarr
environment:
- PUID=<your_PUID>
- PGID=<your_PGID>
volumes:
- <media_folder>/tvshows:/tv
- <media_folder>/downloads:/downloads
- <install_location>/config/sonarr:/config
ports:
- 8989:8989
restart: unless-stopped
# Radarr is used to query, add downloads to the download queue and index Movies
radarr:
image: ghcr.io/linuxserver/radarr
container_name: radarr
environment:
- PUID=<your_PUID>
- PGID=<your_PGID>
volumes:
- <media_folder>/movies:/movies
- <media_folder>/downloads:/downloads
- <install_location>/config/radarr:/config
ports:
- 7878:7878
restart: unless-stopped
# Bazarr is used to download and categorize subtitles
bazarr:
image: ghcr.io/linuxserver/bazarr
container_name: bazarr
environment:
- PUID=<your_PUID>
- PGID=<your_PGID>
volumes:
- <media_folder>/movies:/movies
- <media_folder>/tvshows:/tv
- <install_location>/config/bazarr:/config
ports:
- 6767:6767
restart: unless-stopped
# Prowlarr is our torrent indexer/searcher. Sonarr/Radarr use Prowlarr as a
# source
prowlarr:
image: lscr.io/linuxserver/prowlarr:latest
container_name: prowlarr
environment:
- PUID=<your_PUID>
- PGID=<your_PGID>
volumes:
- <install_location>/config/prowlarr:/config
ports:
- 9696:9696
restart: unless-stopped
# Gluetun is our VPN, so you can download torrents safely
gluetun:
image: qmcgaw/gluetun
container_name: gluetun
cap_add:
- NET_ADMIN
devices:
- /dev/net/tun:/dev/net/tun
ports:
- 8888:8888/tcp # HTTP proxy
- 8388:8388/tcp # Shadowsocks
- 8388:8388/udp # Shadowsocks
#- 8080:8080/tcp # gluetun
volumes:
- <install_location>/config/gluetun:/config
environment:
- VPN_SERVICE_PROVIDER=<vpn_service>
- VPN_TYPE=openvpn
- OPENVPN_USER=<vpn_user>
- OPENVPN_PASSWORD=<vpn_password>
- SERVER_COUNTRIES=<vpn_country>