Split media into scrobller and media-player

This commit is contained in:
Colin Hebert
2023-01-20 18:42:46 +01:00
parent 951c5e46d8
commit 1daf970ee9
9 changed files with 87 additions and 93 deletions

View File

@@ -0,0 +1,4 @@
services:
plex:
devices:
- /dev/dri:/dev/dri

View File

@@ -0,0 +1,4 @@
services:
portainer:
ports:
- 32400:32400

View File

@@ -0,0 +1,9 @@
services:
plex:
networks:
macvlan:
ipv4_address: ${NASCOMPOSE_MACVLAN_PLEX_IP?}
networks:
macvlan:
external: true

View File

@@ -0,0 +1,46 @@
name: Media-Player
services:
plex:
image: plexinc/pms-docker:plexpass
environment:
PLEX_UID: ${NASCOMPOSE_UID?}
PLEX_GID: ${NASCOMPOSE_GID?}
networks:
- default
- traefik
volumes:
- plex_transcode:/transcode/
- plex_config:/config/
- tv:/data/tv/
- movies:/data/movies/
restart: unless-stopped
labels:
traefik.enable: true
traefik.http.services.plex.loadbalancer.server.port: 32400
traefik.http.services.plex.loadbalancer.server.scheme: https
networks:
traefik:
external: true
volumes:
movies:
name: movies
driver_opts:
type: none
o: bind
device: ${NASCOMPOSE_DATA?}/media/movies/
tv:
name: tv
driver_opts:
type: none
o: bind
device: ${NASCOMPOSE_DATA?}/media/tv/
plex_transcode:
plex_config:
driver_opts:
type: none
o: bind
device: ${NASCOMPOSE_SERVICES?}/volumes/plex/config/