arch:
  - aarch64
  - amd64
backup_exclude:
  - "**/Cache/**"
  - "**/Plug-in Support/Caches/**"
  - "**/Logs/**"
  - "**/Crash Reports/**"
  - "**/Diagnostics/**"
description:
  Plex organizes video, music and photos from personal media libraries
  and streams them to smart TVs, streaming boxes and mobile devices
devices:
  - /dev/dri
  - /dev/dri/card0
  - /dev/dri/card1
  - /dev/dri/renderD128
  - /dev/vchiq
  - /dev/video10
  - /dev/video11
  - /dev/video12
  - /dev/video13
  - /dev/video14
  - /dev/video15
  - /dev/video16
  - /dev/ttyUSB0
  - /dev/sda
  - /dev/sdb
  - /dev/sdc
  - /dev/sdd
  - /dev/sde
  - /dev/sdf
  - /dev/sdg
  - /dev/nvme
  - /dev/nvme0
  - /dev/nvme0n1
  - /dev/nvme0n1p1
  - /dev/nvme0n1p2
  - /dev/nvme0n1p3
  - /dev/nvme1n1
  - /dev/nvme1n1p1
  - /dev/nvme1n1p2
  - /dev/nvme1n1p3
  - /dev/nvme2n1
  - /dev/nvme2n1p1
  - /dev/nvme2n1p2
  - /dev/nvme2n3p3
  - /dev/mmcblk
  - /dev/fuse
  - /dev/sda1
  - /dev/sdb1
  - /dev/sdc1
  - /dev/sdd1
  - /dev/sde1
  - /dev/sdf1
  - /dev/sdg1
  - /dev/sda2
  - /dev/sdb2
  - /dev/sdc2
  - /dev/sdd2
  - /dev/sde2
  - /dev/sdf2
  - /dev/sdg2
  - /dev/sda3
  - /dev/sdb3
  - /dev/sda4
  - /dev/sdb4
  - /dev/sda5
  - /dev/sda6
  - /dev/sda7
  - /dev/sda8
  - /dev/nvme0
  - /dev/nvme1
  - /dev/nvme2
  - /dev/dvb/
  - /dev/dvb/adapter0/demux0
  - /dev/dvb/adapter0/dvr0
  - /dev/dvb/adapter0/frontend0
  - /dev/dvb/adapter0/net0
  - /dev/dvb/adapter1/demux0
  - /dev/dvb/adapter1/dvr0
  - /dev/dvb/adapter1/frontend0
  - /dev/dvb/adapter1/net0
  - /dev/dvb/adapter2/demux0
  - /dev/dvb/adapter2/dvr0
  - /dev/dvb/adapter2/frontend0
  - /dev/dvb/adapter2/net0
  - /dev/dvb/adapter3/demux0
  - /dev/dvb/adapter3/dvr0
  - /dev/dvb/adapter3/frontend0
  - /dev/dvb/adapter3/net0
  - /dev/dvb/adapter4/demux0
  - /dev/dvb/adapter4/dvr0
  - /dev/dvb/adapter4/frontend0
  - /dev/dvb/adapter4/net0
  - /dev/dvb/adapter5/demux0
  - /dev/dvb/adapter5/dvr0
  - /dev/dvb/adapter5/frontend0
  - /dev/dvb/adapter5/net0
  - /dev/dvb/adapter6/demux0
  - /dev/dvb/adapter6/dvr0
  - /dev/dvb/adapter6/frontend0
  - /dev/dvb/adapter6/net0
  - /dev/dvb/adapter7/demux0
  - /dev/dvb/adapter7/dvr0
  - /dev/dvb/adapter7/frontend0
  - /dev/dvb/adapter7/net0
  - /dev/dvb/adapter8/demux0
  - /dev/dvb/adapter8/dvr0
  - /dev/dvb/adapter8/frontend0
  - /dev/dvb/adapter8/net0
environment:
  PGID: "0"
  PUID: "0"
  VERSION: docker
host_network: true
image: ghcr.io/alexbelgium/plex_nas-{arch}
init: false
map:
  - share:rw
  - media:rw
  - ssl
name: Plex NAS
options:
  env_vars: []
  PGID: 0
  PUID: 0
  claim: Get_from_https://www.plex.tv/claim
ports:
  1900/udp: 1900
  3005/tcp: 3005
  32400/tcp: 32400
  32410/udp: 32410
  32412/udp: 32412
  32413/udp: 32413
  32414/udp: 32414
  32469/tcp: 32469
  33400/tcp: 33400
  33443/tcp: 33443
  8324/tcp: 8324
ports_description:
  1900/udp: Plex DLNA server
  3005/tcp: Plex Home Theater via Plex Companion
  32400/tcp: Plex Media Server Interface
  32410/udp: GDM network discovery
  32412/udp: GDM network discovery
  32413/udp: GDM network discovery
  32414/udp: GDM network discovery
  32469/tcp: Plex DLNA Server
  33400/tcp: WebTools
  33443/tcp: WebTools
  8324/tcp: Plex for Roku via Plex Companion
privileged:
  - SYS_ADMIN
  - DAC_READ_SEARCH
schema:
  env_vars:
    - name: match(^[A-Za-z0-9_]+$)
      value: str?
  PGID: int
  PUID: int
  TZ: str?
  cifsdomain: str?
  cifspassword: str?
  cifsusername: str?
  claim: str
  clear_codecs_folder: bool?
  localdisks: str?
  networkdisks: str?
  skip_permissions_check: bool?
  smbv1: bool?
slug: plex_nas
udev: true
url: https://github.com/alexbelgium/hassio-addons/tree/master/plex
usb: true
version: "1.42.2.10156-f737b826c-ls288"
video: true
webui: "[PROTO:ssl]://[HOST]:[PORT:32400]/web"
