19 lines
481 B
Bash
Executable File
19 lines
481 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Assumes pew-net exists
|
|
# Make config dir (as non-root) before launching
|
|
|
|
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 \
|
|
--network host \
|
|
linuxserver/plex:latest
|