238 lines
5.8 KiB
YAML
238 lines
5.8 KiB
YAML
---
|
|
# Docker Network
|
|
- name: Create media network
|
|
community.docker.docker_network:
|
|
name: media
|
|
ipam_config:
|
|
subnet: 172.23.27.0/24
|
|
|
|
# Torrent Client
|
|
- name: Deploy Transmission
|
|
community.docker.docker_container:
|
|
name: transmission
|
|
image: haugene/transmission-openvpn
|
|
restart_policy: unless-stopped
|
|
env:
|
|
- "TZ={{ TZ }}"
|
|
- OPENVPN_PROVIDER=PIA
|
|
- OPENVPN_CONFIG=ca_toronto
|
|
- "OPENVPN_USERNAME={{ PIA_USER }}"
|
|
- "OPENVPN_PASSWORD={{ PIA_PASS }}"
|
|
- LOCAL_NETWORK=192.168.0.0/24
|
|
volumes:
|
|
- "{{ CONFIG_FOLDER }}/transmission/data:/data"
|
|
ports:
|
|
- 9091:9091
|
|
capabilities:
|
|
- NET_ADMIN
|
|
|
|
# File Browser
|
|
- name: Deploy FileBrowser
|
|
community.docker.docker_container:
|
|
name: filebrowser
|
|
image: filebrowser/filebrowser
|
|
restart_policy: unless-stopped
|
|
env:
|
|
- PUID={{ PUID }}
|
|
- PGID={{ PGID }}
|
|
volumes:
|
|
- "{{ MEDIA_FOLDER }}:/srv"
|
|
- "{{ CONFIG_FOLDER }}/filebrowser/filebrowser.db:/database.db"
|
|
ports:
|
|
- 8080:80
|
|
|
|
# Index Handler
|
|
- name: Deploy Prowlarr
|
|
community.docker.docker_container:
|
|
name: prowlarr
|
|
image: lscr.io/linuxserver/prowlarr
|
|
restart_policy: unless-stopped
|
|
env:
|
|
- "TZ={{ TZ }}"
|
|
- "PUID={{ PUID }}"
|
|
- "PGID={{ PGID }}"
|
|
volumes:
|
|
- "{{ CONFIG_FOLDER }}/prowlarr/config:/config"
|
|
ports:
|
|
- 9696:9696
|
|
|
|
# TV Show Manager
|
|
- name: Deploy Sonarr
|
|
community.docker.docker_container:
|
|
name: sonarr
|
|
image: lscr.io/linuxserver/sonarr
|
|
restart_policy: unless-stopped
|
|
env:
|
|
- "TZ={{ TZ }}"
|
|
- "PUID={{ PUID }}"
|
|
- "PGID={{ PGID }}"
|
|
volumes:
|
|
- "{{ CONFIG_FOLDER }}/sonarr/config:/config"
|
|
- "{{ DOWNLOAD_FOLDER }}:/downloads"
|
|
- "{{ TV_FOLDER }}:/tv"
|
|
- "{{ TV_ANIME_FOLDER }}:/tv-anime"
|
|
ports:
|
|
- 8989:8989
|
|
|
|
- name: Deploy Sonarr 4k
|
|
community.docker.docker_container:
|
|
name: sonarr4k
|
|
image: lscr.io/linuxserver/sonarr
|
|
restart_policy: unless-stopped
|
|
env:
|
|
- "TZ={{ TZ }}"
|
|
- "PUID={{ PUID }}"
|
|
- "PGID={{ PGID }}"
|
|
volumes:
|
|
- "{{ CONFIG_FOLDER }}/sonarr/config:/config"
|
|
- "{{ DOWNLOAD_FOLDER }}:/downloads"
|
|
- "{{ TV_4K_FOLDER }}:/tv"
|
|
ports:
|
|
- 9898:8989
|
|
|
|
# Movie Manager
|
|
- name: Deploy Radarr
|
|
community.docker.docker_container:
|
|
name: radarr
|
|
image: lscr.io/linuxserver/radarr
|
|
restart_policy: unless-stopped
|
|
env:
|
|
- "TZ={{ TZ }}"
|
|
- "PUID={{ PUID }}"
|
|
- "PGID={{ PGID }}"
|
|
volumes:
|
|
- "{{ CONFIG_FOLDER }}/radarr/config:/config"
|
|
- "{{ DOWNLOAD_FOLDER }}:/downloads"
|
|
- "{{ MOVIE_FOLDER }}:/movie"
|
|
- "{{ MOVIE_ANIME_FOLDER }}:/movie-anime"
|
|
ports:
|
|
- 7878:7878
|
|
|
|
- name: Deploy Radarr 4k
|
|
community.docker.docker_container:
|
|
name: radarr
|
|
image: lscr.io/linuxserver/radarr
|
|
restart_policy: unless-stopped
|
|
env:
|
|
- "TZ={{ TZ }}"
|
|
- "PUID={{ PUID }}"
|
|
- "PGID={{ PGID }}"
|
|
volumes:
|
|
- "{{ CONFIG_FOLDER }}/radarr/config:/config"
|
|
- "{{ DOWNLOAD_FOLDER }}:/downloads"
|
|
- "{{ MOVIE_4K_FOLDER }}:/movie"
|
|
ports:
|
|
- 8787:7878
|
|
|
|
# Distributable Transcoding Server
|
|
- name: Deploy Tdarr
|
|
community.docker.docker_container:
|
|
name: tdarr-server
|
|
image: ghcr.io/haveagitgat/tdarr
|
|
restart_policy: unless-stopped
|
|
network_mode: bridge
|
|
env:
|
|
- "TZ={{ TZ }}"
|
|
- "PUID={{ PUID }}"
|
|
- "PGID={{ PGID }}"
|
|
- serverIP=0.0.0.0
|
|
- webUIPort=8265
|
|
- serverPort=8266
|
|
- internalNode=true
|
|
- nodeId=ServerNode
|
|
- NVIDIA_DRIVER_CAPABILITIES=all
|
|
- NVIDIA_VISIBLE_DEVICES=all
|
|
volumes:
|
|
- "{{ CONFIG_FOLDER }}/tdarr-server/server:/app/server"
|
|
- "{{ CONFIG_FOLDER }}/tdarr-server/config:/app/config"
|
|
- "{{ CONFIG_FOLDER }}/tdarr-server/logs:/app/logs"
|
|
- "{{ MEDIA_FOLDER }}:/content"
|
|
- /temp:/temp
|
|
ports:
|
|
- 8265:8265
|
|
- 8266:8266
|
|
|
|
|
|
# Music Manager
|
|
- name: Deploy Lidarr
|
|
community.docker.docker_container:
|
|
name: lidarr
|
|
image: lscr.io/linuxserver/lidarr
|
|
restart_policy: unless-stopped
|
|
env:
|
|
- "TZ={{ TZ }}"
|
|
- "PUID={{ PUID }}"
|
|
- "PGID={{ PGID }}"
|
|
volumes:
|
|
- "{{ CONFIG_FOLDER }}/lidarr/config:/config"
|
|
- "{{ DOWNLOAD_FOLDER }}:/downloads"
|
|
- "{{ MUSIC_FOLDER }}:/music"
|
|
ports:
|
|
- 8686:8686
|
|
|
|
# Media Requests
|
|
- name: Deploy Overseerr
|
|
community.docker.docker_container:
|
|
name: overseerr
|
|
image: lscr.io/linuxserver/overseerr
|
|
restart_policy: unless-stopped
|
|
env:
|
|
- "TZ={{ TZ }}"
|
|
- "PUID={{ PUID }}"
|
|
- "PGID={{ PGID }}"
|
|
- LOG_LEVEL=INFO
|
|
volumes:
|
|
- "{{ CONFIG_FOLDER }}/overseerr/config:/config"
|
|
ports:
|
|
- 5055:5055
|
|
|
|
# Discord Bot for Media Requests
|
|
- name: Deploy Requestrr
|
|
community.docker.docker_container:
|
|
name: requestrr
|
|
image: lscr.io/linuxserver/requestrr
|
|
restart_policy: unless-stopped
|
|
env:
|
|
- "TZ={{ TZ }}"
|
|
- "PUID={{ PUID }}"
|
|
- "PGID={{ PGID }}"
|
|
volumes:
|
|
- "{{ CONFIG_FOLDER }}/requestrr/config:/config"
|
|
ports:
|
|
- 4545:4545
|
|
|
|
- name: Deploy Plex
|
|
community.docker.docker_container:
|
|
name: plex
|
|
image: lscr.io/linuxserver/plex
|
|
restart_policy: always
|
|
env:
|
|
- "PUID={{ PUID }}"
|
|
- "PGID={{ PGID }}"
|
|
- VERSION=docker
|
|
volumes:
|
|
- "{{ CONFIG_FOLDER }}/plex/config:/config"
|
|
- "{{ MEDIA_FOLDER }}:/content"
|
|
|
|
# Custom TV Channels
|
|
- name: Deploy disquetv
|
|
community.docker.docker_container:
|
|
name: disquetv
|
|
image: vexorian/dizquetv
|
|
restart_policy: unless-stopped
|
|
volumes:
|
|
- dizquetv-data:/home/node/app/.dizquetv
|
|
ports:
|
|
- 32500:8000
|
|
|
|
# Plex Stats
|
|
- name: Deploy Tautulli
|
|
community.docker.docker_container:
|
|
name: tautulli
|
|
image: lscr.io/linuxserver/tautulli:latest
|
|
restart_policy: unless-stopped
|
|
volumes:
|
|
- "{{ CONFIG_FOLDER }}/tautulli/config:/config"
|
|
ports:
|
|
- 8181:8181
|