fichiers docker
This commit is contained in:
44
docker/docker-compose-plex.yaml
Normal file
44
docker/docker-compose-plex.yaml
Normal file
@@ -0,0 +1,44 @@
|
||||
###########################################################################
|
||||
###########################################################################
|
||||
##
|
||||
## Docker Compose File: Plex (LinuxServer.io)
|
||||
## Function: Media Server
|
||||
##
|
||||
## Documentation: https://hub.docker.com/r/linuxserver/plex
|
||||
##
|
||||
###########################################################################
|
||||
###########################################################################
|
||||
services:
|
||||
plex:
|
||||
image: lscr.io/linuxserver/plex:latest
|
||||
container_name: plex
|
||||
restart: unless-stopped
|
||||
# Add Configurations for GPU Hardware Rendering Here:
|
||||
# devices:
|
||||
# - /dev/dri/renderD128:/dev/dri/renderD128
|
||||
# - /dev/dri/card0:/dev/dri/card0
|
||||
volumes:
|
||||
- ${FOLDER_FOR_DATA:?err}/plex:/config
|
||||
- ${FOLDER_FOR_MEDIA:?err}/media:/data/media
|
||||
ports:
|
||||
- "${WEBUI_PORT_PLEX:?err}:32400"
|
||||
# - 1900:1900/udp
|
||||
# - 5353:5353/udp
|
||||
- 8324:8324
|
||||
- 32410:32410/udp
|
||||
- 32412:32412/udp
|
||||
- 32413:32413/udp
|
||||
- 32414:32414/udp
|
||||
- 32469:32469
|
||||
environment:
|
||||
- PUID=${PUID:?err}
|
||||
- PGID=${PGID:?err}
|
||||
- UMASK=${UMASK:?err}
|
||||
- TZ=${TIMEZONE:?err}
|
||||
- VERSION=docker
|
||||
- PLEX_CLAIM=${PLEX_CLAIM}
|
||||
|
||||
networks:
|
||||
default:
|
||||
name: mediastack
|
||||
external: true
|
||||
Reference in New Issue
Block a user