2019-08-25 14:17:20 -04:00
|
|
|
#!/bin/bash
|
|
|
|
|
2019-08-25 15:27:22 -04:00
|
|
|
# Assumes pew-net exists
|
2019-08-31 18:51:01 -04:00
|
|
|
# Make config dir (as non-root) before launching
|
2019-08-25 15:21:50 -04:00
|
|
|
|
2019-08-25 14:17:20 -04:00
|
|
|
docker run \
|
|
|
|
--name plex \
|
|
|
|
--detach \
|
|
|
|
--restart unless-stopped \
|
|
|
|
--env PUID=1000 \
|
|
|
|
--env PGID=1000 \
|
|
|
|
--env VERSION=docker \
|
|
|
|
--volume $PWD/config:/config:rw \
|
|
|
|
--volume /bigdata/media/movies:/media/movies:ro \
|
|
|
|
--volume /bigdata/media/music:/media/music:ro \
|
|
|
|
--volume /media-vtluug:/media/media-vtluug:ro \
|
2019-08-25 23:24:08 -04:00
|
|
|
--network host \
|
2019-08-25 14:17:20 -04:00
|
|
|
linuxserver/plex:latest
|