Add docker-compose.yml for media stack services
Added a docker-compose configuration for multiple services including gluetun, qbittorrent, prowlarr, sonarr, radarr, flaresolverr, ombi, and plex.
This commit is contained in:
1 parent
fa36a50c1d
commit
94acfcd60e
1 file changed
+111
@@ -0,0 +1,111 @@
|
||||
version: '3.8'
|
||||
services:
|
||||
gluetun:
|
||||
image: qmcgaw/gluetun:latest
|
||||
container_name: gluetun
|
||||
cap_add:
|
||||
- NET_ADMIN
|
||||
devices:
|
||||
- /dev/net/tun:/dev/net/tun
|
||||
ports:
|
||||
- 8080:8080
|
||||
- 6881:6881
|
||||
- 6881:6881/udp
|
||||
volumes:
|
||||
- /opt/mediastack/gluetun:/gluetun
|
||||
environment:
|
||||
- VPN_SERVICE_PROVIDER=surfshark
|
||||
- VPN_TYPE=openvpn
|
||||
- OPENVPN_USER=${OPENVPN_USER}
|
||||
- OPENVPN_PASSWORD=${OPENVPN_PASSWORD}
|
||||
- SERVER_COUNTRIES=Netherlands
|
||||
- FIREWALL_OUTBOUND_SUBNETS=10.1.80.0/24,10.1.88.0/24
|
||||
- TZ=Europe/Amsterdam
|
||||
restart: unless-stopped
|
||||
qbittorrent:
|
||||
image: ghcr.io/hotio/qbittorrent:latest
|
||||
container_name: qbittorrent
|
||||
network_mode: "service:gluetun"
|
||||
depends_on:
|
||||
- gluetun
|
||||
volumes:
|
||||
- /opt/mediastack/qbittorrent/config:/config
|
||||
- /mnt/media:/data
|
||||
environment:
|
||||
- PUID=0
|
||||
- PGID=0
|
||||
- TZ=Europe/Amsterdam
|
||||
- UMASK=002
|
||||
restart: on-failure:5
|
||||
prowlarr:
|
||||
image: lscr.io/linuxserver/prowlarr:latest
|
||||
container_name: prowlarr
|
||||
environment:
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
- TZ=Europe/Amsterdam
|
||||
volumes:
|
||||
- /opt/mediastack/prowlarr/config:/config
|
||||
ports:
|
||||
- 9696:9696
|
||||
restart: unless-stopped
|
||||
sonarr:
|
||||
image: lscr.io/linuxserver/sonarr:latest
|
||||
container_name: sonarr
|
||||
environment:
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
- TZ=Europe/Amsterdam
|
||||
volumes:
|
||||
- /opt/mediastack/sonarr/config:/config
|
||||
- /mnt/media:/data
|
||||
ports:
|
||||
- 8989:8989
|
||||
restart: unless-stopped
|
||||
radarr:
|
||||
image: lscr.io/linuxserver/radarr:latest
|
||||
container_name: radarr
|
||||
environment:
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
- TZ=Europe/Amsterdam
|
||||
volumes:
|
||||
- /opt/mediastack/radarr/config:/config
|
||||
- /mnt/media:/data
|
||||
ports:
|
||||
- 7878:7878
|
||||
restart: unless-stopped
|
||||
flaresolverr:
|
||||
image: ghcr.io/flaresolverr/flaresolverr:latest
|
||||
container_name: flaresolverr
|
||||
environment:
|
||||
- LOG_LEVEL=info
|
||||
- TZ=Europe/Amsterdam
|
||||
ports:
|
||||
- 8191:8191
|
||||
restart: unless-stopped
|
||||
ombi:
|
||||
image: lscr.io/linuxserver/ombi:latest
|
||||
container_name: ombi
|
||||
environment:
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
- TZ=Europe/Amsterdam
|
||||
volumes:
|
||||
- /opt/mediastack/ombi/config:/config
|
||||
ports:
|
||||
- 3579:3579
|
||||
restart: unless-stopped
|
||||
plex:
|
||||
image: lscr.io/linuxserver/plex:latest
|
||||
container_name: plex
|
||||
network_mode: host
|
||||
environment:
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
- TZ=Europe/Amsterdam
|
||||
- VERSION=docker
|
||||
volumes:
|
||||
- /opt/mediastack/plex/config:/config
|
||||
- /mnt/media:/data
|
||||
restart: unless-stopped
|
||||
Reference in new issue
Block a user