Advertisement
Guest User

Untitled

a guest
Jul 18th, 2018
426
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 1.10 KB | None | 0 0
  1. version: '2'
  2. services:
  3.   plex:
  4.     container_name: plex
  5.     image: linuxserver/plex:latest
  6.     # restart: 'no'
  7.     restart: always
  8.     network_mode: host
  9.     volumes:
  10.      - /volume1/video:/volume1/video
  11.       - /mnt/plexdrive/gdrvmcl:/cloudmfs
  12.       - ${DOCKER_ROOT}/plex/config:/config
  13.       - ${DOCKER_ROOT}/plex/transcode:/transcode
  14.       - /tmp/.X11-unix:/tmp/.X11-unix
  15.     #depends_on:
  16.     #  - plexdrive
  17.     devices:
  18.      - "/dev/dri:/dev/dri"
  19.     environment:
  20.      - PUID=0
  21.       - PGID=0
  22.       - TZ=Asia/Seoul
  23.       - VERSION=latest
  24.       - DISPLAY=:0
  25.  
  26.   plexdrive:
  27.     container_name: plexdrive
  28.     image: wiserain/plexdrive
  29.     restart: always
  30.     network_mode: bridge
  31.     volumes:
  32.      - ${DOCKER_ROOT}/plexdrive/config:/config
  33.       - /mnt/plexdrive/gdrvmcl:/data:shared
  34.     privileged: true
  35.     devices:
  36.      - /dev/fuse
  37.     cap_add:
  38.      - MKNOD
  39.       - SYS_ADMIN
  40.     environment:
  41.      - PUID=1000
  42.       - PGID=1000
  43.       - RUN_OPTS=--chunk-check-threads=8 --chunk-load-ahead=16 --chunk-load-threads=16 --max-chunks=512 --chunk-size=2M --refresh-interval=1m
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement