version: "3"
services:
plex-1:
cap_add:
- AUDIT_WRITE
- CHOWN
- DAC_OVERRIDE
- FOWNER
- FSETID
- KILL
- MKNOD
- NET_BIND_SERVICE
- NET_RAW
- SETFCAP
- SETGID
- SETPCAP
- SETUID
- SYS_CHROOT
cap_drop:
- AUDIT_CONTROL
- BLOCK_SUSPEND
- DAC_READ_SEARCH
- IPC_LOCK
- IPC_OWNER
- LEASE
- LINUX_IMMUTABLE
- MAC_ADMIN
- MAC_OVERRIDE
- NET_ADMIN
- NET_BROADCAST
- SYSLOG
- SYS_ADMIN
- SYS_BOOT
- SYS_MODULE
- SYS_NICE
- SYS_PACCT
- SYS_PTRACE
- SYS_RAWIO
- SYS_RESOURCE
- SYS_TIME
- SYS_TTY_CONFIG
- WAKE_ALARM
container_name: plex-1
devices:
- CgroupPermissions: rwm
PathInContainer: /dev/dri
PathOnHost: /dev/dri
dns:
- 1.1.1.1
- 1.0.0.1
entrypoint:
- /init
environment:
- PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
- HOME=/root
- LANGUAGE=en_US.UTF-8
- LANG=en_US.UTF-8
- TERM=xterm
- PLEX_ARCH=amd64
- TZ=Europe/Warsaw
- ADVERTISE_IP=x.x.x.x:32400
- NVIDIA_DRIVER_CAPABILITIES=compute,video,utility
- DEBIAN_FRONTEND=noninteractive
- PLEX_DOWNLOAD=https://downloads.plex.tv/plex-media-server-new
- 'PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR=/config/Library/Application Support'
- PLEX_MEDIA_SERVER_HOME=/usr/lib/plexmediaserver
- PLEX_MEDIA_SERVER_MAX_PLUGIN_PROCS=6
- PLEX_MEDIA_SERVER_USER=abc
- PLEX_MEDIA_SERVER_INFO_VENDOR=Docker
- 'PLEX_MEDIA_SERVER_INFO_DEVICE=Docker Container (LinuxServer.io)'
- VERSION=docker
expose:
- 1900/udp
- 3005/tcp
- 32400/tcp
- 32410/udp
- 32412/udp
- 32413/udp
- 32414/udp
- 32469/tcp
- 5353/udp
- 8324/tcp
hostname: plex
image: linuxserver/plex:latest
ipc: private
labels:
build_version: 'Linuxserver.io version:- 1.24.5.5173-8dcc73a59-ls85 Build-date:-
2021-11-09T05:00:00+01:00'
com.qnap.qcs.gpu: False
com.qnap.qcs.network.mode: bridge
maintainer: thelamer
org.opencontainers.image.authors: linuxserver.io
org.opencontainers.image.created: 2021-11-09T05:00:00+01:00
org.opencontainers.image.description: "[Plex](https://plex.tv) organizes video,\
\ music and photos from personal media libraries and streams them to smart\
\ TVs, streaming boxes and mobile devices. This container is packaged as a\
\ standalone Plex Media Server. has always been a top priority. Straightforward\
\ design and bulk actions mean getting things done faster."
org.opencontainers.image.documentation: https://docs.linuxserver.io/images/docker-plex
org.opencontainers.image.licenses: GPL-3.0-only
org.opencontainers.image.ref.name: 53aff94c5bc687678f0ddacb6b9839d8a81217ad
org.opencontainers.image.revision: 53aff94c5bc687678f0ddacb6b9839d8a81217ad
org.opencontainers.image.source: https://github.com/linuxserver/docker-plex
org.opencontainers.image.title: Plex
org.opencontainers.image.url: https://github.com/linuxserver/docker-plex/packages
org.opencontainers.image.vendor: linuxserver.io
org.opencontainers.image.version: 1.24.5.5173-8dcc73a59-ls85
logging:
driver: json-file
options:
max-file: 10
max-size: 10m
networks:
- qnet-static-eth3
restart: unless-stopped
security_opt:
- label=disable
stdin_open: true
tty: true
ulimits:
- Hard: 65535
Name: nofile
Soft: 65535
volumes:
- /share/Docker/plex/config:/config
- /share/Media/Filmy:/filmy
- /share/Docker/plex/transcode:/transcode
networks:
qnet-static-eth3:
external: true